Remove unused values.
This commit is contained in:
parent
e60362c220
commit
92699f0a00
1 changed files with 1 additions and 43 deletions
|
|
@ -9,8 +9,6 @@ import InputGroup from 'primevue/inputgroup';
|
|||
import InputGroupAddon from 'primevue/inputgroupaddon';
|
||||
import InputText from 'primevue/inputtext';
|
||||
import RadioButton from 'primevue/radiobutton';
|
||||
import Select from 'primevue/select';
|
||||
import ToggleSwitch from 'primevue/toggleswitch';
|
||||
|
||||
import IconLayout1Vue from '@/components/layouts/IconLayout1.vue';
|
||||
import IconLayout2Vue from '@/components/layouts/IconLayout2.vue';
|
||||
|
|
@ -25,31 +23,10 @@ const original = useSticker();
|
|||
let sticker = ref<StickerType>(activist);
|
||||
|
||||
// When the original sticker appears, copy it into a local coy.
|
||||
watch(original, (newValue, oldValue) => {
|
||||
watch(original, (newValue) => {
|
||||
sticker.value = structuredClone(toRaw(newValue));
|
||||
});
|
||||
|
||||
const checked = ref(true);
|
||||
const selectedCountry = ref(null);
|
||||
const countries = ref([
|
||||
{ name: 'Afghanistan', code: 'AF' },
|
||||
{ name: 'Åland Islands', code: 'AX' },
|
||||
{ name: 'Albania', code: 'AL' },
|
||||
{ name: 'Algeria', code: 'DZ' },
|
||||
{ name: 'American Samoa', code: 'AS' },
|
||||
{ name: 'AndorrA', code: 'AD' },
|
||||
{ name: 'Angola', code: 'AO' },
|
||||
{ name: 'Anguilla', code: 'AI' },
|
||||
{ name: 'Antarctica', code: 'AQ' },
|
||||
{ name: 'Antigua and Barbuda', code: 'AG' },
|
||||
{ name: 'Argentina', code: 'AR' },
|
||||
{ name: 'Armenia', code: 'AM' },
|
||||
{ name: 'Aruba', code: 'AW' },
|
||||
{ name: 'Australia', code: 'AU' },
|
||||
{ name: 'Austria', code: 'AT' },
|
||||
{ name: 'Azerbaijan', code: 'AZ' },
|
||||
{ name: 'Bahamas', code: 'BS' }
|
||||
]);
|
||||
const initialValues = {};
|
||||
const resolver = () => {
|
||||
return {};
|
||||
|
|
@ -124,15 +101,6 @@ function onFormSubmit() {
|
|||
<ColorPicker v-model="sticker.color" />
|
||||
</div>
|
||||
<div class="col-span-12 md:col-span-6">
|
||||
<label for="country2">Country</label>
|
||||
<Select id="country2" v-model="selectedCountry" :options="countries" option-label="name" :filter="true" filter-by="name" :show-clear="true" placeholder="Select a Country" class="w-full">
|
||||
<template #option="slotProps">
|
||||
<div class="flex items-center">
|
||||
<div>[flag]</div>
|
||||
<div>{{ slotProps.option.name }}</div>
|
||||
</div>
|
||||
</template>
|
||||
</Select>
|
||||
</div>
|
||||
|
||||
<div class="divider" />
|
||||
|
|
@ -165,16 +133,6 @@ function onFormSubmit() {
|
|||
|
||||
<div class="divider" />
|
||||
|
||||
<div class="col-span-12">
|
||||
<label for="privacy2">Privacy</label>
|
||||
<div class="flex items-center">
|
||||
<ToggleSwitch id="privacy2" v-model="checked" />
|
||||
<span class="ml-2">Share my data with contacts</span>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="divider" />
|
||||
|
||||
<div class="col-span-12">
|
||||
<Button label="Save Changes" class="w-auto mt-4" type="submit" />
|
||||
</div>
|
||||
|
|
|
|||
Loading…
Reference in a new issue