mirror of
https://github.com/zadam/trilium.git
synced 2025-11-17 02:30:42 +01:00
add prefix "_" to "named" IDs
This commit is contained in:
@@ -76,7 +76,7 @@ export default class CodeButtonsWidget extends NoteContextAwareWidget {
|
||||
|
||||
this.$saveToNoteButton.toggle(
|
||||
note.mime === 'text/x-sqlite;schema=trilium'
|
||||
&& !note.getAllNotePaths().find(notePathArr => !notePathArr.includes("hidden"))
|
||||
&& !note.getAllNotePaths().find(notePathArr => !notePathArr.includes('_hidden'))
|
||||
);
|
||||
|
||||
this.$openTriliumApiDocsButton.toggle(note.mime.startsWith('application/javascript;env='));
|
||||
|
||||
Reference in New Issue
Block a user