refactor: Remove unused lint directives (no-changelog) (#9842)
This commit is contained in:
@@ -22,7 +22,9 @@ Range.prototype.getClientRects = vi.fn(() => ({
|
||||
|
||||
export class IntersectionObserver {
|
||||
root = null;
|
||||
|
||||
rootMargin = '';
|
||||
|
||||
thresholds = [];
|
||||
|
||||
disconnect() {
|
||||
|
||||
@@ -38,8 +38,8 @@
|
||||
:message="$locale.baseText('credentialEdit.credentialConfig.accountConnected')"
|
||||
:button-label="$locale.baseText('credentialEdit.credentialConfig.reconnect')"
|
||||
:button-title="$locale.baseText('credentialEdit.credentialConfig.reconnectOAuth2Credential')"
|
||||
@click="$emit('oauth')"
|
||||
data-test-id="oauth-connect-success-banner"
|
||||
@click="$emit('oauth')"
|
||||
>
|
||||
<template v-if="isGoogleOAuthType" #button>
|
||||
<p
|
||||
@@ -118,8 +118,8 @@
|
||||
isOAuthType && requiredPropertiesFilled && !isOAuthConnected && credentialPermissions.update
|
||||
"
|
||||
:is-google-o-auth-type="isGoogleOAuthType"
|
||||
@click="$emit('oauth')"
|
||||
data-test-id="oauth-connect-button"
|
||||
@click="$emit('oauth')"
|
||||
/>
|
||||
|
||||
<n8n-text v-if="isMissingCredentials" color="text-base" size="medium">
|
||||
|
||||
@@ -665,7 +665,7 @@ export default defineComponent({
|
||||
};
|
||||
}
|
||||
|
||||
this.credentialName = currentCredentials.name as string;
|
||||
this.credentialName = currentCredentials.name;
|
||||
} catch (error) {
|
||||
this.showError(
|
||||
error,
|
||||
|
||||
@@ -48,7 +48,7 @@ async function onUpdateConnected(value: boolean) {
|
||||
|
||||
if (props.beforeUpdate) {
|
||||
const result = await props.beforeUpdate(value);
|
||||
if (result === false) {
|
||||
if (!result) {
|
||||
saving.value = false;
|
||||
return;
|
||||
}
|
||||
|
||||
@@ -154,7 +154,7 @@ watch(
|
||||
</div>
|
||||
</div>
|
||||
<div v-else :class="$style.email">
|
||||
<div :class="$style.input" @keyup.enter="send" data-test-id="nps-survey-email">
|
||||
<div :class="$style.input" data-test-id="nps-survey-email" @keyup.enter="send">
|
||||
<n8n-input
|
||||
v-model="form.email"
|
||||
:placeholder="YOUR_EMAIL_ADDRESS"
|
||||
|
||||
@@ -86,7 +86,7 @@ import { toRefs } from '@vueuse/core';
|
||||
// ---------------------------------------------------------------------------
|
||||
|
||||
const props = defineProps<{
|
||||
reportError: Boolean;
|
||||
reportError: boolean;
|
||||
}>();
|
||||
|
||||
// #endregion
|
||||
|
||||
Reference in New Issue
Block a user