Some improvements for ACL Support #157

This commit is contained in:
the-djmaze 2024-02-12 20:48:43 +01:00
parent a0f7114a39
commit b0d4b56cee
9 changed files with 160 additions and 20 deletions

View file

@ -27,6 +27,9 @@ import Remote from 'Remote/User/Fetch';
import { FileInfo } from 'Common/File';
import { FolderPopupView } from 'View/Popup/Folder';
import { showScreenPopup } from 'Knoin/Knoin';
const
// isPosNumeric = value => null != value && /^[0-9]*$/.test(value.toString()),
@ -481,7 +484,8 @@ export class FolderModel extends AbstractModel {
}
edit() {
this.canBeEdited() && this.editing(true);
// this.canBeEdited() && this.editing(true);
this.canBeEdited() && showScreenPopup(FolderPopupView, [this]);
}
unedit() {