mirror of
https://github.com/lana-k/sqliteviz.git
synced 2025-12-07 18:48:55 +08:00
#31 fix deleting inquiry
This commit is contained in:
@@ -164,7 +164,10 @@ export default {
|
||||
inquiry => inquiry.id === this.currentInquiryTab.id
|
||||
)
|
||||
|
||||
if (inquiryInStore?.updatedAt !== this.currentInquiryTab?.updatedAt) {
|
||||
if (
|
||||
inquiryInStore &&
|
||||
inquiryInStore.updatedAt !== this.currentInquiryTab.updatedAt
|
||||
) {
|
||||
this.$modal.show('inquiry-conflict')
|
||||
return
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user