Skip to content

Commit

Permalink
use ris-ui button with icon on Abgabe
Browse files Browse the repository at this point in the history
RISDEV-6048
  • Loading branch information
reckseba committed Jan 14, 2025
1 parent b561a54 commit bc6580b
Showing 1 changed file with 13 additions and 2 deletions.
15 changes: 13 additions & 2 deletions frontend/src/routes/documentUnit/[documentNumber]/AbgabePage.vue
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
<script setup lang="ts">
import { useRouter } from 'vue-router'
import TextButton from '@/components/input/TextButton.vue'
import Button from 'primevue/button'
import IconCheck from '~icons/material-symbols/check'
const router = useRouter()
</script>
Expand All @@ -10,7 +11,17 @@ const router = useRouter()
<div aria-label="Abgabe" class="flex flex-col gap-24 bg-white p-24">
<TitleElement>Abgabe</TitleElement>
<div class="flex flex-row">
<TextButton label="Zur Veröffentlichung freigeben" @click="router.push({ path: '/' })" />
<Button
:disabled="false"
label="Zur Veröffentlichung freigeben"
:loading="false"
:text="false"
@click="router.push({ path: '/' })"
>
<template #icon>
<IconCheck />
</template>
</Button>
</div>
</div>
</div>
Expand Down

0 comments on commit bc6580b

Please sign in to comment.