refactor: minor improvements

This commit is contained in:
Fabio Di Stasio 2022-11-29 14:25:30 +01:00
parent 0fca70ebec
commit 2d126d521c
2 changed files with 1 additions and 3 deletions

View File

@ -17,7 +17,7 @@
:style="[
`background: ${folder.color};`,
isOpen ? `max-height: ${60*(folder.connections.length+1)}px` : 'max-height: 60px',
!isOpen ? `overflow: hidden;` : ''
!isOpen || folderDrag ? `overflow: hidden;` : ''
]"
:list="localList"
ghost-class="ghost"
@ -213,7 +213,6 @@ emit('folder-sort');// To apply changes on component key change
gap: 4px;
padding: 4px;
height: 100%;
overflow: hidden;
width: 100%;
border-radius: 15px;
transition: background .3s;

View File

@ -110,7 +110,6 @@ export const useConnectionsStore = defineStore('connections', {
return conn;
});
console.log(this.connectionsOrder);
persistentStore.set('connectionsOrder', this.connectionsOrder);
this.clearEmptyFolders();
},