mirror of
https://github.com/zadam/trilium.git
synced 2025-11-17 02:30:42 +01:00
feat(views/geomap): allow disabling editing
This commit is contained in:
@@ -44,6 +44,10 @@ export default abstract class ViewMode<T extends object> extends Component {
|
||||
return false;
|
||||
}
|
||||
|
||||
get isReadOnly() {
|
||||
return this.parentNote.hasLabel("readOnly");
|
||||
}
|
||||
|
||||
get viewStorage() {
|
||||
if (this._viewStorage) {
|
||||
return this._viewStorage;
|
||||
|
||||
Reference in New Issue
Block a user