🚚 Relocate class in SettingsApiView

This commit is contained in:
Iván Ovejero 2022-09-08 11:50:53 +02:00
parent 67e49d577d
commit c5ae9c4199
2 changed files with 10 additions and 8 deletions

View file

@ -2,7 +2,7 @@
<div> <div>
<n8n-input-label :label="label"> <n8n-input-label :label="label">
<div :class="{[$style.copyText]: true, [$style[size]]: true, [$style.collapsed]: collapse}" @click="copy"> <div :class="{[$style.copyText]: true, [$style[size]]: true, [$style.collapsed]: collapse}" @click="copy">
<span ref="copyInputValue ph-no-capture">{{ value }}</span> <span ref="copyInputValue">{{ value }}</span>
<div :class="$style.copyButton"><span>{{ copyButtonText }}</span></div> <div :class="$style.copyButton"><span>{{ copyButtonText }}</span></div>
</div> </div>
</n8n-input-label> </n8n-input-label>

View file

@ -37,13 +37,15 @@
{{ $locale.baseText('generic.delete') }} {{ $locale.baseText('generic.delete') }}
</n8n-link> </n8n-link>
</span> </span>
<CopyInput <div class="ph-no-capture">
:label="$locale.baseText('settings.api.view.myKey')" <CopyInput
:value="apiKey" :label="$locale.baseText('settings.api.view.myKey')"
:copy-button-text="$locale.baseText('generic.clickToCopy')" :value="apiKey"
:toast-title="$locale.baseText('settings.api.view.copy.toast')" :copy-button-text="$locale.baseText('generic.clickToCopy')"
@copy="onCopy" :toast-title="$locale.baseText('settings.api.view.copy.toast')"
/> @copy="onCopy"
/>
</div>
</n8n-card> </n8n-card>
<div :class="$style.hint"> <div :class="$style.hint">
<n8n-text size="small"> <n8n-text size="small">