mirror of
https://github.com/filebrowser/filebrowser.git
synced 2024-06-07 23:00:43 +00:00
feat: show more button on share
This commit is contained in:
parent
16a34defc0
commit
ba8c09f454
@ -128,7 +128,11 @@
|
|||||||
readOnly
|
readOnly
|
||||||
>
|
>
|
||||||
</item>
|
</item>
|
||||||
<div v-if="req.items.length > showLimit" class="item">
|
<div
|
||||||
|
v-if="req.items.length > showLimit"
|
||||||
|
class="item"
|
||||||
|
@click="showLimit += 100"
|
||||||
|
>
|
||||||
<div>
|
<div>
|
||||||
<p class="name">+ {{ req.items.length - showLimit }}</p>
|
<p class="name">+ {{ req.items.length - showLimit }}</p>
|
||||||
</div>
|
</div>
|
||||||
@ -192,14 +196,18 @@ export default {
|
|||||||
},
|
},
|
||||||
data: () => ({
|
data: () => ({
|
||||||
error: null,
|
error: null,
|
||||||
showLimit: 500,
|
showLimit: 100,
|
||||||
password: "",
|
password: "",
|
||||||
attemptedPasswordLogin: false,
|
attemptedPasswordLogin: false,
|
||||||
hash: null,
|
hash: null,
|
||||||
token: null,
|
token: null,
|
||||||
}),
|
}),
|
||||||
watch: {
|
watch: {
|
||||||
$route: "fetchData",
|
$route: function () {
|
||||||
|
this.showLimit = 100;
|
||||||
|
|
||||||
|
this.fetchData();
|
||||||
|
},
|
||||||
},
|
},
|
||||||
created: async function () {
|
created: async function () {
|
||||||
const hash = this.$route.params.pathMatch.split("/")[0];
|
const hash = this.$route.params.pathMatch.split("/")[0];
|
||||||
|
Loading…
Reference in New Issue
Block a user