mirror of
https://github.com/zadam/trilium.git
synced 2025-11-07 13:56:11 +01:00
sync update persistent notification
This commit is contained in:
@@ -99,8 +99,18 @@ async function refreshTree() {
|
||||
await sendMessageToAllClients({ type: 'refresh-tree' });
|
||||
}
|
||||
|
||||
async function syncPullInProgress() {
|
||||
await sendMessageToAllClients({ type: 'sync-pull-in-progress' });
|
||||
}
|
||||
|
||||
async function syncPullFinished() {
|
||||
await sendMessageToAllClients({ type: 'sync-pull-finished' });
|
||||
}
|
||||
|
||||
module.exports = {
|
||||
init,
|
||||
sendMessageToAllClients,
|
||||
refreshTree
|
||||
refreshTree,
|
||||
syncPullInProgress,
|
||||
syncPullFinished
|
||||
};
|
||||
Reference in New Issue
Block a user