mirror of
https://github.com/zadam/trilium.git
synced 2025-11-01 10:55:55 +01:00
sync check failure is now shown as error message in frontend
This commit is contained in:
@@ -17,7 +17,7 @@ function showMessage(message) {
|
||||
});
|
||||
}
|
||||
|
||||
function showError(message) {
|
||||
function showError(message, delay = 10000) {
|
||||
console.log("error: ", message);
|
||||
|
||||
$.notify({
|
||||
@@ -26,7 +26,7 @@ function showError(message) {
|
||||
},{
|
||||
// settings
|
||||
type: 'danger',
|
||||
delay: 10000
|
||||
delay: delay
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user