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