bugfix validation of get lock records (#270)

pull/3759/head
Leonel Matos 2020-01-28 12:27:27 -04:00 committed by Yamel Senih
parent 1b550dea89
commit 63944c9815
2 changed files with 2 additions and 2 deletions

View File

@ -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

View File

@ -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,