Make some cleaning

This commit is contained in:
Bubka 2023-10-26 08:53:48 +02:00
parent b55ea8c84f
commit 79827663fe
3 changed files with 1 additions and 6 deletions

View File

@ -52,12 +52,10 @@ import FieldError from '@/components/formElements/FieldError.vue'
import FormField from '@/components/formElements/FormField.vue' import FormField from '@/components/formElements/FormField.vue'
import FormPasswordField from '@/components/formElements/FormPasswordField.vue' import FormPasswordField from '@/components/formElements/FormPasswordField.vue'
import FormSelect from '@/components/formElements/FormSelect.vue' import FormSelect from '@/components/formElements/FormSelect.vue'
// import FormSwitch from './FormSwitch'
import FormToggle from '@/components/formElements/FormToggle.vue' import FormToggle from '@/components/formElements/FormToggle.vue'
import FormCheckbox from '@/components/formElements/FormCheckbox.vue' import FormCheckbox from '@/components/formElements/FormCheckbox.vue'
import FormButtons from '@/components/formElements/FormButtons.vue' import FormButtons from '@/components/formElements/FormButtons.vue'
import Kicker from '@/components/Kicker.vue' import Kicker from '@/components/Kicker.vue'
// import SettingTabs from './SettingTabs'
app app
.component('FontAwesomeIcon', FontAwesomeIcon) .component('FontAwesomeIcon', FontAwesomeIcon)

View File

@ -27,8 +27,7 @@
'button': true, 'button': true,
[`${color}`]: true, [`${color}`]: true,
'is-loading': isLoading, 'is-loading': isLoading,
}" }">
v-on:click="$emit('click')">
<slot /> <slot />
</button> </button>
</template> </template>

View File

@ -1,7 +1,6 @@
<script setup> <script setup>
import twofaccountService from '@/services/twofaccountService' import twofaccountService from '@/services/twofaccountService'
import Spinner from '@/components/Spinner.vue'
import TotpLooper from '@/components/TotpLooper.vue' import TotpLooper from '@/components/TotpLooper.vue'
import GroupSwitch from '@/components/GroupSwitch.vue' import GroupSwitch from '@/components/GroupSwitch.vue'
import DestinationGroupSelector from '@/components/DestinationGroupSelector.vue' import DestinationGroupSelector from '@/components/DestinationGroupSelector.vue'
@ -24,7 +23,6 @@
const notify = useNotifyStore() const notify = useNotifyStore()
const user = useUserStore() const user = useUserStore()
const bus = useBusStore() const bus = useBusStore()
const router = useRouter()
const appSettings = useAppSettingsStore() const appSettings = useAppSettingsStore()
const { copy, copied } = useClipboard({ legacy: true }) const { copy, copied } = useClipboard({ legacy: true })
const twofaccounts = useTwofaccounts() const twofaccounts = useTwofaccounts()