Skip to content

Commit

Permalink
Enable ts-strict for dialogStore.ts (#1236)
Browse files Browse the repository at this point in the history
  • Loading branch information
huchenlei authored Oct 12, 2024
1 parent 5611e90 commit 634196c
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/stores/dialogStore.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
// @ts-strict-ignore
// We should consider moving to https://primevue.org/dynamicdialog/ once everything is in Vue.
// Currently we need to bridge between legacy app code and Vue app with a Pinia store.

Expand Down Expand Up @@ -41,7 +40,7 @@ export const useDialogStore = defineStore('dialog', {
}) {
this.isVisible = true
nextTick(() => {
this.title = options.title
this.title = options.title ?? ''
this.headerComponent = options.headerComponent
? markRaw(options.headerComponent)
: null
Expand Down

0 comments on commit 634196c

Please sign in to comment.