mirror of
https://github.com/zadam/trilium.git
synced 2025-11-06 05:15:59 +01:00
mobile layout improvements
This commit is contained in:
@@ -5,7 +5,7 @@ import protectedSessionHolder from "../../services/protected_session_holder.js";
|
||||
|
||||
export default class EditButton extends OnClickButtonWidget {
|
||||
isEnabled() {
|
||||
return super.isEnabled() && this.noteContext;
|
||||
return super.isEnabled() && this.note;
|
||||
}
|
||||
|
||||
constructor() {
|
||||
|
||||
Reference in New Issue
Block a user