Review fixes
This commit is contained in:
parent
3757aabb6f
commit
3aded1ed60
1 changed files with 2 additions and 5 deletions
|
@ -353,10 +353,7 @@ export default {
|
|||
return lastItemOfFolder.id;
|
||||
},
|
||||
isLastSavedFolderOpen() {
|
||||
if (this.getLastSavedFolderId === Number(this.foldersId)) {
|
||||
return true;
|
||||
}
|
||||
return false;
|
||||
return this.getLastSavedFolderId === Number(this.foldersId);
|
||||
},
|
||||
activeFolder() {
|
||||
if (this.foldersId) {
|
||||
|
@ -392,7 +389,7 @@ export default {
|
|||
activeFolder() {
|
||||
if (
|
||||
!this.hasAppliedFilters ||
|
||||
(this.isLastSavedFolderOpen === false && this.$route.name !== 'home')
|
||||
(!this.isLastSavedFolderOpen && this.$route.name !== 'home')
|
||||
) {
|
||||
this.resetAndFetchData();
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue