mirror of
https://github.com/siyuan-note/siyuan.git
synced 2026-01-03 15:28:49 +01:00
♻️ Adjust addRiffCards/removeRiffCards implementation to be asynchronous transaction https://github.com/siyuan-note/siyuan/issues/7936
This commit is contained in:
parent
3e14b4f29c
commit
4a54dcb4af
1 changed files with 2 additions and 0 deletions
|
|
@ -106,6 +106,8 @@ func flushTx() {
|
|||
case TxErrCodeBlockNotFound:
|
||||
util.PushTxErr("Transaction failed", txErr.code, nil)
|
||||
return
|
||||
case TxErrCodeDataIsSyncing:
|
||||
util.PushErrMsg(Conf.Language(81), 5000)
|
||||
default:
|
||||
logging.LogFatalf(logging.ExitCodeFatal, "transaction failed: %s", txErr.msg)
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue