bugfix validation of get lock records (#270)
parent
1b550dea89
commit
63944c9815
|
@ -340,7 +340,7 @@ export const contextMixin = {
|
|||
return
|
||||
}
|
||||
|
||||
if (this.panelType === 'window') {
|
||||
if (this.panelType === 'window' && !this.isEmptyValue(this.$route.params.tableName)) {
|
||||
this.$store.dispatch('getPrivateAccessFromServer', {
|
||||
tableName: this.$route.params.tableName,
|
||||
recordId: this.$route.params.recordId
|
||||
|
|
|
@ -783,7 +783,7 @@ const data = {
|
|||
userUuid
|
||||
})
|
||||
.then(privateAccessResponse => {
|
||||
if (isEmptyValue(privateAccessResponse.recordId) || privateAccessResponse !== recordId) {
|
||||
if (isEmptyValue(privateAccessResponse.recordId) || privateAccessResponse.recordId !== recordId) {
|
||||
return {
|
||||
isLocked: false,
|
||||
tableName,
|
||||
|
|
Loading…
Reference in New Issue