🎨 Flashcards are not allowed to be modified during data sync to avoid data overwriting https://github.com/siyuan-note/siyuan/issues/10167

This commit is contained in:
Daniel 2024-01-13 22:14:26 +08:00
parent 43c6fabcdc
commit c3b4aa971d
No known key found for this signature in database
GPG key ID: 86211BA83DF03017
6 changed files with 11 additions and 6 deletions

View file

@ -115,7 +115,7 @@ func flushTx(tx *Transaction) {
util.PushTxErr("Transaction failed", txErr.code, nil)
return
case TxErrCodeDataIsSyncing:
util.PushErrMsg(Conf.Language(81), 5000)
util.PushMsg(Conf.Language(222), 5000)
default:
txData, _ := gulu.JSON.MarshalJSON(tx)
logging.LogFatalf(logging.ExitCodeFatal, "transaction failed [%d]: %s\n tx [%s]", txErr.code, txErr.msg, txData)