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