Skip to content

Commit

Permalink
chore: fix linting
Browse files Browse the repository at this point in the history
  • Loading branch information
akshayitzme committed Jul 1, 2023
1 parent 3577a8f commit 6e3068d
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
4 changes: 2 additions & 2 deletions src/components/Controls/DynamicLink.vue
Original file line number Diff line number Diff line change
Expand Up @@ -75,8 +75,8 @@ export default {
},
async openNewDoc() {
const schemaName = this.getTargetSchemaName();
if(!schemaName){
return
if (!schemaName) {
return;
}
const name =
this.linkValue || fyo.doc.getTemporaryName(fyo.schemaMap[schemaName]);
Expand Down
12 changes: 6 additions & 6 deletions src/components/StatusPill.vue
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ export default defineComponent({
Saved: this.t`Saved`,
Submitted: this.t`Submitted`,
Return: this.t`Return`,
ReturnIssued: this.t`Return Issued`
ReturnIssued: this.t`Return Issued`,
}[this.status];
},
color(): UIColors {
Expand All @@ -64,7 +64,7 @@ const statusColorMap: Record<Status, UIColors> = {
Saved: 'blue',
Submitted: 'blue',
Return: 'orange',
ReturnIssued: 'gray'
ReturnIssued: 'gray',
};
function getStatus(doc: Doc) {
Expand Down Expand Up @@ -113,12 +113,12 @@ function getSubmittableStatus(doc: Doc) {
return 'Paid';
}
if(doc.isReturn && doc.isSubmitted && !doc.isCancelled){
return 'Return'
if (doc.isReturn && doc.isSubmitted && !doc.isCancelled) {
return 'Return';
}
if(doc.isItemsReturned && doc.isSubmitted && !doc.isCancelled){
return 'ReturnIssued'
if (doc.isItemsReturned && doc.isSubmitted && !doc.isCancelled) {
return 'ReturnIssued';
}
if (doc.isSubmitted) {
Expand Down

0 comments on commit 6e3068d

Please sign in to comment.