Merge pull request 'Merge from dev to master' (#959) from test into master
gitea/salix/pipeline/head This commit looks good Details

Reviewed-on: #959
This commit is contained in:
Joan Sanchez 2022-05-02 10:44:22 +00:00
commit ef7392e38d
1 changed files with 5 additions and 1 deletions

View File

@ -7,6 +7,10 @@ const fs = require('fs-extra');
module.exports = {
name: 'delivery-note',
created() {
if (!this.type)
this.type = 'deliveryNote';
},
async serverPrefetch() {
this.client = await this.fetchClient(this.ticketId);
this.ticket = await this.fetchTicket(this.ticketId);
@ -129,7 +133,7 @@ module.exports = {
},
type: {
type: String,
required: true
required: false
}
}
};