Skip to content

Commit

Permalink
Resolved UI logic issue
Browse files Browse the repository at this point in the history
  • Loading branch information
jamespaologarcia committed Nov 27, 2023
1 parent 7f2ab6e commit 8b865ec
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/components/existing-request/nr-approved-gray-box.vue
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@
class="amalgamate-now-btn mt-30"
min-width="20rem"
:disabled="disabled"
@click="$emit('goToEntityDashboard')"
@click="amalgamateNowClicked()"
>
<strong>Amalgamate Now</strong>
</v-btn>
Expand Down Expand Up @@ -256,8 +256,10 @@ export default class NrApprovedGrayBox extends Mixins(CommonMixin, SearchMixin,
const legalType = this.entityTypeToCorpType(this.getEntityTypeCd)
if (this.isAuthenticated) {
if (this.isSupportedAmalgamation) {
console.log('1')
await this.amalgamateNow(legalType)
} else {
console.log('2')
this.$emit('goToCorpOnline')
}
} else {
Expand Down

0 comments on commit 8b865ec

Please sign in to comment.