mirror of
https://github.com/n8n-io/n8n.git
synced 2024-11-09 22:24:05 -08:00
fix: lint
This commit is contained in:
parent
67ec49228f
commit
72869c431f
|
@ -1,14 +1,6 @@
|
|||
<template>
|
||||
<ModalDrawer
|
||||
:name="VALUE_SURVEY_MODAL_KEY"
|
||||
:eventBus="modalBus"
|
||||
:beforeClose="closeDialog"
|
||||
:modal="false"
|
||||
:wrapperClosable="false"
|
||||
direction="btt"
|
||||
width="120px"
|
||||
:class="$style.valueSurvey"
|
||||
>
|
||||
<ModalDrawer :name="VALUE_SURVEY_MODAL_KEY" :eventBus="modalBus" :beforeClose="closeDialog" :modal="false"
|
||||
:wrapperClosable="false" direction="btt" width="120px" :class="$style.valueSurvey">
|
||||
<template #header>
|
||||
<div :class="$style.title">
|
||||
<n8n-heading tag="h2" size="medium" color="text-xlight">{{ getTitle }}</n8n-heading>
|
||||
|
@ -19,12 +11,8 @@
|
|||
<div v-if="showButtons" :class="$style.wrapper">
|
||||
<div :class="$style.buttons">
|
||||
<div v-for="value in 11" :key="value - 1" :class="$style.container">
|
||||
<n8n-button
|
||||
type="tertiary"
|
||||
:label="(value - 1).toString()"
|
||||
@click="selectSurveyValue((value - 1).toString())"
|
||||
square
|
||||
/>
|
||||
<n8n-button type="tertiary" :label="(value - 1).toString()"
|
||||
@click="selectSurveyValue((value - 1).toString())" square />
|
||||
</div>
|
||||
</div>
|
||||
<div :class="$style.text">
|
||||
|
@ -34,11 +22,7 @@
|
|||
</div>
|
||||
<div v-else :class="$style.email">
|
||||
<div :class="$style.input" @keyup.enter="send">
|
||||
<n8n-input
|
||||
v-model="form.email"
|
||||
placeholder="Your email address"
|
||||
@update:modelValue="onInputChange"
|
||||
/>
|
||||
<n8n-input v-model="form.email" placeholder="Your email address" @update:modelValue="onInputChange" />
|
||||
<div :class="$style.button">
|
||||
<n8n-button label="Send" float="right" @click="send" :disabled="!isEmailValid" />
|
||||
</div>
|
||||
|
@ -273,7 +257,8 @@ export default defineComponent({
|
|||
margin: 0;
|
||||
padding: 18px 0 16px;
|
||||
|
||||
button { // close
|
||||
button {
|
||||
// close
|
||||
top: 12px;
|
||||
right: 16px;
|
||||
position: absolute;
|
||||
|
|
Loading…
Reference in a new issue