Skip to content

Commit

Permalink
- lint fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
Severin Beauvais committed Aug 23, 2024
1 parent 0feda29 commit 242699f
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 9 deletions.
20 changes: 12 additions & 8 deletions src/components/Dashboard/TodoList.vue
Original file line number Diff line number Diff line change
Expand Up @@ -1953,10 +1953,12 @@ export default class TodoList extends Mixins(AllowableActionsMixin, DateMixin) {
switch (item.name) {
case FilingTypes.ANNUAL_REPORT:
// file the subject Annual Report
this.$router.push({ name: Routes.ANNUAL_REPORT, query: {
filingId: '0', // 0 means "new AR"
arFilingYear: item.ARFilingYear.toString()
} })
this.$router.push({ name: Routes.ANNUAL_REPORT,
query: {
filingId: '0', // 0 means "new AR"
arFilingYear: item.ARFilingYear.toString()
}
})
break
case FilingTypes.CONVERSION: {
// go to conversion filing
Expand All @@ -1983,10 +1985,12 @@ export default class TodoList extends Mixins(AllowableActionsMixin, DateMixin) {
case FilingTypes.ANNUAL_REPORT:
// resume this Annual Report locally
this.$router.push({ name: Routes.ANNUAL_REPORT, query: {
filingId: item.filingId.toString(),
arFilingYear: item.ARFilingYear.toString()
} })
this.$router.push({ name: Routes.ANNUAL_REPORT,
query: {
filingId: item.filingId.toString(),
arFilingYear: item.ARFilingYear.toString()
}
})
return
case FilingTypes.CHANGE_OF_DIRECTORS:
Expand Down
1 change: 0 additions & 1 deletion src/routes.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ import StandaloneOfficeAddressFiling from '@/views/StandaloneOfficeAddressFiling
import ConsentAmalgamationOut from '@/views/ConsentAmalgamationOut.vue'
import ConsentContinuationOut from '@/views/ConsentContinuationOut.vue'
import ContinuationOut from '@/views/ContinuationOut.vue'
import Correction from '@/views/Correction.vue'
import Signin from '@/views/auth/Signin.vue'
import Signout from '@/views/auth/Signout.vue'
import { DigitalCredentialRoutes } from '@/resources/DigitalCredentialRoutes'
Expand Down

0 comments on commit 242699f

Please sign in to comment.