mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-19 02:51:14 +00:00
refactor(editor): Apply Prettier (no-changelog) (#4920)
* ⚡ Adjust `format` script * 🔥 Remove exemption for `editor-ui` * 🎨 Prettify * 👕 Fix lint
This commit is contained in:
@@ -8,16 +8,27 @@
|
||||
@keydown.stop
|
||||
@keydown.esc="editName = false"
|
||||
>
|
||||
<n8n-text :bold="true" color="text-base" tag="div"
|
||||
>{{ $locale.baseText('ndv.title.renameNode') }}</n8n-text>
|
||||
<n8n-text :bold="true" color="text-base" tag="div">{{
|
||||
$locale.baseText('ndv.title.renameNode')
|
||||
}}</n8n-text>
|
||||
<n8n-input ref="input" size="small" v-model="newName" />
|
||||
<div :class="$style.editButtons">
|
||||
<n8n-button type="secondary" size="small" @click="editName = false" :label="$locale.baseText('ndv.title.cancel')" />
|
||||
<n8n-button type="primary" size="small" @click="onRename" :label="$locale.baseText('ndv.title.rename')" />
|
||||
<n8n-button
|
||||
type="secondary"
|
||||
size="small"
|
||||
@click="editName = false"
|
||||
:label="$locale.baseText('ndv.title.cancel')"
|
||||
/>
|
||||
<n8n-button
|
||||
type="primary"
|
||||
size="small"
|
||||
@click="onRename"
|
||||
:label="$locale.baseText('ndv.title.rename')"
|
||||
/>
|
||||
</div>
|
||||
</div>
|
||||
<template #reference>
|
||||
<div class="ph-no-capture" :class="{[$style.title]: true, [$style.hoverable]: !readOnly}">
|
||||
<div class="ph-no-capture" :class="{ [$style.title]: true, [$style.hoverable]: !readOnly }">
|
||||
{{ value }}
|
||||
<div :class="$style.editIconContainer">
|
||||
<font-awesome-icon :class="$style.editIcon" icon="pencil-alt" v-if="!readOnly" />
|
||||
|
||||
Reference in New Issue
Block a user