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;
}
if (this.user.redirectAfterCopyMove) this.$router.push({ path: this.dest });
if (this.user.redirectAfterCopyMove)
this.$router.push({ path: this.dest });
})
.catch((e) => {
buttons.done("copy");

View File

@ -108,7 +108,8 @@ export default {
.then(() => {
buttons.success("move");
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;
})
.catch((e) => {

View File

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