#1404 client was undefined fixed
gitea/salix/dev This commit looks good Details

This commit is contained in:
Carlos Jimenez Ruiz 2019-05-08 12:19:08 +02:00
parent 189cefe327
commit cd7c9506b2
1 changed files with 2 additions and 5 deletions

View File

@ -9,11 +9,8 @@ const UserException = require(`${appPath}/lib/exceptions/userException`);
const rptSepaCore = {
name: 'rpt-sepa-core',
serverPrefetch() {
this.clientName = 'Name123';
},
/* async asyncData(ctx, params) {
async asyncData(ctx, params) {
if (!params.clientFk)
throw new UserException('No client id specified');
@ -27,7 +24,7 @@ const rptSepaCore = {
return client;
});
}, */
},
created() {
this.clientId = 101;
if (this.locale)