chore: fix lint

This commit is contained in:
Henrique Dias 2026-01-10 10:27:25 +01:00
parent dd696cbe96
commit 5dd48a5c2a
No known key found for this signature in database
3 changed files with 9 additions and 3 deletions

View File

@ -109,7 +109,8 @@ export default {
return; return;
} }
if (this.user.redirectAfterCopyMove) this.$router.push({ path: this.dest }); if (this.user.redirectAfterCopyMove)
this.$router.push({ path: this.dest });
}) })
.catch((e) => { .catch((e) => {
buttons.done("copy"); buttons.done("copy");

View File

@ -108,7 +108,8 @@ export default {
.then(() => { .then(() => {
buttons.success("move"); buttons.success("move");
this.preselect = removePrefix(items[0].to); this.preselect = removePrefix(items[0].to);
if (this.user.redirectAfterCopyMove) this.$router.push({ path: this.dest }); if (this.user.redirectAfterCopyMove)
this.$router.push({ path: this.dest });
else this.reload = true; else this.reload = true;
}) })
.catch((e) => { .catch((e) => {

View File

@ -16,7 +16,11 @@
{{ t("settings.singleClick") }} {{ t("settings.singleClick") }}
</p> </p>
<p> <p>
<input type="checkbox" name="redirectAfterCopyMove" v-model="redirectAfterCopyMove" /> <input
type="checkbox"
name="redirectAfterCopyMove"
v-model="redirectAfterCopyMove"
/>
{{ t("settings.redirectAfterCopyMove") }} {{ t("settings.redirectAfterCopyMove") }}
</p> </p>
<p> <p>