Skip to content

Commit

Permalink
fix: orders of computed words
Browse files Browse the repository at this point in the history
  • Loading branch information
matheusgnreis committed Dec 5, 2019
1 parent 5777dbf commit 4004b3e
Showing 1 changed file with 28 additions and 29 deletions.
57 changes: 28 additions & 29 deletions src/components/js/EcApplication.js
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,34 @@ export default {
return this.applicationBody.description
},

version () {
return this.applicationBody.version
},

noRelatedApps () {
if (this.appsRelated) {
if (!this.quantityOfRelatedApps) {
return this.i19noAppsAvailable
}
}
},

website () {
return this.applicationBody.website
},

price () {
if (this.applicationBody) {
if (!this.applicationBody.paid) {
return i18n(i19free)
} else {
return i18n(i19paid)
}
} else {
return i18n(i19unavailable)
}
},

i19description () {
return i18n(i19description)
},
Expand Down Expand Up @@ -128,35 +156,6 @@ export default {
return 'Não há aplicativos disponíveis'
},

version () {
return this.applicationBody.version
},

noRelatedApps () {
if (this.appsRelated) {
if (!this.quantityOfRelatedApps) {
return this.i19noAppsAvailable
}
}
},

website () {
return this.applicationBody.website
},

price () {
if (this.applicationBody) {
if (!this.applicationBody.paid) {
return i18n(i19free)
} else {
return i18n(i19paid)
}

} else {
return i18n(i19unavailable)
}
},

i19author () {
return i18n(i19author)
},
Expand Down

0 comments on commit 4004b3e

Please # to comment.