chore: fix lint
This commit is contained in:
parent
dd696cbe96
commit
5dd48a5c2a
@ -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");
|
||||||
|
|||||||
@ -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) => {
|
||||||
|
|||||||
@ -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>
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user