Update Listing.vue
This commit is contained in:
parent
b302d3c0b3
commit
16456d73ef
@ -383,6 +383,7 @@ export default {
|
||||
},
|
||||
watch: {
|
||||
req: function () {
|
||||
if (window.sessionStorage.getItem('listFrozen') !=="true"){
|
||||
// Reset the show value
|
||||
this.showLimit = 50;
|
||||
|
||||
@ -394,6 +395,10 @@ export default {
|
||||
// Fill and fit the window with listing items
|
||||
this.fillWindow(true);
|
||||
});
|
||||
}
|
||||
if (this.req.isDir) {
|
||||
window.sessionStorage.setItem('listFrozen', "false");
|
||||
}
|
||||
},
|
||||
},
|
||||
mounted: function () {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user