mirror of
https://github.com/zadam/trilium.git
synced 2025-11-09 23:05:51 +01:00
Merge branch 'master' into next55
# Conflicts: # electron.js # package-lock.json # package.json # src/public/app/layouts/desktop_layout.js # src/public/app/widgets/note_tree.js # src/services/port.js
This commit is contained in:
@@ -4,6 +4,7 @@ import dateNoteService from "../../services/date_notes.js";
|
||||
import server from "../../services/server.js";
|
||||
import appContext from "../../services/app_context.js";
|
||||
import RightDropdownButtonWidget from "./right_dropdown_button.js";
|
||||
import toastService from "../../services/toast.js";
|
||||
|
||||
const DROPDOWN_TPL = `
|
||||
<div class="calendar-dropdown-widget">
|
||||
@@ -62,7 +63,7 @@ export default class CalendarWidget extends RightDropdownButtonWidget {
|
||||
this.hideDropdown();
|
||||
}
|
||||
else {
|
||||
alert("Cannot find day note");
|
||||
toastService.showError("Cannot find day note");
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user