refactor: Fix type issues for parameter input components (#9449)

This commit is contained in:
Elias Meire
2024-05-21 15:04:20 +02:00
committed by GitHub
parent cd751e7cc8
commit 711c46f205
36 changed files with 315 additions and 243 deletions

View File

@@ -63,7 +63,7 @@ export default defineComponent({
props: ['modalName'],
setup() {
return {
...useToast(),
toast: useToast(),
};
},
data() {
@@ -94,7 +94,7 @@ export default defineComponent({
try {
await this.uiStore.applyForOnboardingCall(this.email);
this.showMessage({
this.toast.showMessage({
type: 'success',
title: this.$locale.baseText('onboardingCallSignupSucess.title'),
message: this.$locale.baseText('onboardingCallSignupSucess.message'),
@@ -102,7 +102,7 @@ export default defineComponent({
this.okToClose = true;
this.modalBus.emit('close');
} catch (e) {
this.showError(
this.toast.showError(
e,
this.$locale.baseText('onboardingCallSignupFailed.title'),
this.$locale.baseText('onboardingCallSignupFailed.message'),