Compare commits

...
2 Commits
4 changed files with 17 additions and 6 deletions
+4
View File
@@ -22,3 +22,7 @@ dist-ssr
*.njsproj *.njsproj
*.sln *.sln
*.sw? *.sw?
.env
tsconfig.tsbuildinfo
package-lock.json
Executable
+2
View File
@@ -0,0 +1,2 @@
#!/bin/bash
/snap/bin/node /home/nonroot/unloze-wrapper/server.js
+5
View File
@@ -204,6 +204,11 @@ export default defineComponent({
this.files.push(...(data.files || [])); this.files.push(...(data.files || []));
this.nextToken = data.nextToken; this.nextToken = data.nextToken;
this.loading = false; this.loading = false;
// Keep fetching until we've retrieved every page for this prefix/search
if (data.isTruncated && data.nextToken) {
await this.fetchList(false);
}
}, },
onSearch() { onSearch() {
this.nextToken = null; this.nextToken = null;
+6 -6
View File
@@ -1,20 +1,20 @@
/* src/main.css */ /* src/main.css */
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;700&display=swap'); @import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;700&display=swap');
body { html, body {
margin: 0; margin: 0;
padding: 0; padding: 0;
font-family: 'Roboto', sans-serif; font-family: 'Roboto', sans-serif;
overflow: hidden; height: 100%;
overflow: auto; /* Allow natural scrolling */
} }
#app, #app,
.v-application { .v-application {
min-height: 100vh;
background-image: url('/carbon.jpg'); background-image: url('/carbon.jpg');
background-repeat: no-repeat; background-repeat: no-repeat;
background-position: center; background-position: center;
position: relative; background-attachment: fixed;
z-index: 0; background-size: cover;
height: 100vh;
overflow-y: auto;
} }