Editing of the project's Kariz page
This commit is contained in:
@@ -4,9 +4,13 @@ import UiIcon from '@/components/UiIcon.vue';
|
||||
import type { PipelineAccent } from '@/lib/pipeline-board';
|
||||
import { PIPELINE_ACCENT } from '@/lib/pipeline-board';
|
||||
|
||||
defineProps<{
|
||||
accent: PipelineAccent;
|
||||
}>();
|
||||
withDefaults(
|
||||
defineProps<{
|
||||
accent: PipelineAccent;
|
||||
label?: string;
|
||||
}>(),
|
||||
{ label: 'افزودن معامله' },
|
||||
);
|
||||
|
||||
const emit = defineEmits<{
|
||||
add: [];
|
||||
@@ -19,10 +23,10 @@ const emit = defineEmits<{
|
||||
block
|
||||
class="add-deal"
|
||||
:style="{ color: PIPELINE_ACCENT[accent].text }"
|
||||
aria-label="افزودن معامله"
|
||||
:aria-label="label"
|
||||
@click="emit('add')"
|
||||
>
|
||||
<UiIcon name="plus" :size="16" />
|
||||
افزودن معامله
|
||||
{{ label }}
|
||||
</UiButton>
|
||||
</template>
|
||||
|
||||
Reference in New Issue
Block a user