mirror of
https://github.com/kokonect-link/cherrypick
synced 2024-12-01 00:08:31 +09:00
Improve readavility
This commit is contained in:
parent
b0f2b209a2
commit
dc11f1afbf
@ -244,13 +244,14 @@ export default Vue.extend({
|
|||||||
},
|
},
|
||||||
|
|
||||||
goRoot(silent = false) {
|
goRoot(silent = false) {
|
||||||
if (this.folder || this.file) {
|
// すでにrootにいるなら何もしない
|
||||||
this.file = null;
|
if (this.folder == null && this.file == null) return;
|
||||||
this.folder = null;
|
|
||||||
this.hierarchyFolders = [];
|
this.file = null;
|
||||||
this.$emit('move-root', silent);
|
this.folder = null;
|
||||||
this.fetch();
|
this.hierarchyFolders = [];
|
||||||
}
|
this.$emit('move-root', silent);
|
||||||
|
this.fetch();
|
||||||
},
|
},
|
||||||
|
|
||||||
fetch() {
|
fetch() {
|
||||||
|
Loading…
Reference in New Issue
Block a user