mirror of
https://github.com/zadam/trilium.git
synced 2025-01-17 12:39:51 +08:00
increase toast size limit
This commit is contained in:
parent
4633c68a0c
commit
b093569ec5
1 changed files with 2 additions and 2 deletions
|
@ -8,8 +8,8 @@ async function syncNow() {
|
|||
toastService.showMessage("Sync finished successfully.");
|
||||
}
|
||||
else {
|
||||
if (result.message.length > 100) {
|
||||
result.message = result.message.substr(0, 100);
|
||||
if (result.message.length > 200) {
|
||||
result.message = result.message.substr(0, 200);
|
||||
}
|
||||
|
||||
toastService.showError("Sync failed: " + result.message);
|
||||
|
|
Loading…
Reference in a new issue