3
0

Fix internal navigation not working on create record page

This commit is contained in:
Kelani Tolulope
2023-11-07 14:10:16 +01:00
parent e624e7f587
commit 38ec0b8a5b

View File

@@ -340,7 +340,7 @@ export default {
checkUnsavedChanges (next, to) {
if (this.isNew) {
return true
return next()
} else {
const recordValues = JSON.parse(JSON.stringify(this.record.values))
const initialRecordState = JSON.parse(JSON.stringify(this.initialRecordState.values))