mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-20 11:22:15 +00:00
refactor(editor): Drop vue-typed-mixins (no-changelog) (#6257)
This commit is contained in:
committed by
GitHub
parent
79d0a0f247
commit
ebb3aaf61e
@@ -64,15 +64,14 @@
|
||||
</template>
|
||||
|
||||
<script lang="ts">
|
||||
import mixins from 'vue-typed-mixins';
|
||||
|
||||
import { defineComponent } from 'vue';
|
||||
import { mapStores } from 'pinia';
|
||||
import { useToast } from '@/composables';
|
||||
import { copyPaste } from '@/mixins/copyPaste';
|
||||
import Modal from './Modal.vue';
|
||||
import type { IFormInputs, IInviteResponse, IUser } from '@/Interface';
|
||||
import { VALID_EMAIL_REGEX, INVITE_USER_MODAL_KEY } from '@/constants';
|
||||
import { ROLE } from '@/utils';
|
||||
import { mapStores } from 'pinia';
|
||||
import { useUsersStore } from '@/stores/users.store';
|
||||
import { useSettingsStore } from '@/stores/settings.store';
|
||||
import { createEventBus } from '@/event-bus';
|
||||
@@ -90,9 +89,10 @@ function getEmail(email: string): string {
|
||||
return parsed;
|
||||
}
|
||||
|
||||
export default mixins(copyPaste).extend({
|
||||
components: { Modal },
|
||||
export default defineComponent({
|
||||
name: 'InviteUsersModal',
|
||||
mixins: [copyPaste],
|
||||
components: { Modal },
|
||||
props: {
|
||||
modalName: {
|
||||
type: String,
|
||||
|
||||
Reference in New Issue
Block a user