refactor(editor): Improve linting for component and prop names (no-changelog) (#8169)

This commit is contained in:
कारतोफ्फेलस्क्रिप्ट™
2023-12-28 09:49:58 +01:00
committed by GitHub
parent 639afcd7a5
commit 68cff4c59e
304 changed files with 3428 additions and 3516 deletions

View File

@@ -2,7 +2,7 @@
<div :class="$style.container">
<div>
<n8n-heading size="2xlarge">{{ $locale.baseText('settings.users') }}</n8n-heading>
<div :class="$style.buttonContainer" v-if="!showUMSetupWarning">
<div v-if="!showUMSetupWarning" :class="$style.buttonContainer">
<n8n-tooltip :disabled="!ssoStore.isSamlLoginEnabled">
<template #content>
<span> {{ $locale.baseText('settings.users.invite.tooltip') }} </span>
@@ -11,9 +11,9 @@
<n8n-button
:disabled="ssoStore.isSamlLoginEnabled || !settingsStore.isBelowUserQuota"
:label="$locale.baseText('settings.users.invite')"
@click="onInvite"
size="large"
data-test-id="settings-users-invite-button"
@click="onInvite"
/>
</div>
</n8n-tooltip>
@@ -29,7 +29,7 @@
uiStore.contextBasedTranslationKeys.users.settings.unavailable.description,
)
"
:buttonText="
:button-text="
$locale.baseText(uiStore.contextBasedTranslationKeys.users.settings.unavailable.button)
"
@click:button="goToUpgrade"
@@ -47,14 +47,14 @@
<!-- If there's more than 1 user it means the account quota was more than 1 in the past. So we need to allow instance owner to be able to delete users and transfer workflows.
-->
<div
:class="$style.usersContainer"
v-if="settingsStore.isBelowUserQuota || usersStore.allUsers.length > 1"
:class="$style.usersContainer"
>
<n8n-users-list
:actions="usersListActions"
:users="usersStore.allUsers"
:currentUserId="usersStore.currentUserId"
:isSamlLoginEnabled="ssoStore.isSamlLoginEnabled"
:current-user-id="usersStore.currentUserId"
:is-saml-login-enabled="ssoStore.isSamlLoginEnabled"
@delete="onDelete"
@reinvite="onReinvite"
@copyInviteLink="onCopyInviteLink"
@@ -65,10 +65,10 @@
<template #actions="{ user }">
<n8n-select
v-if="user.id !== usersStore.currentUserId"
:modelValue="user?.globalRole?.name || 'member'"
@update:modelValue="onRoleChange(user, $event)"
:model-value="user?.globalRole?.name || 'member'"
:disabled="!canUpdateRole"
data-test-id="user-role-select"
@update:modelValue="onRoleChange(user, $event)"
>
<n8n-option
v-for="role in userRoles"