Skip to content
Snippets Groups Projects
Commit cabf7fdd authored by Konrad Mohrfeldt's avatar Konrad Mohrfeldt :koala:
Browse files

refactor: move show render type switcher

This control changes the rendering type for the show previews and should
be placed directly next to it.
parent b4492dbf
Branches
Tags
No related merge requests found
......@@ -2,13 +2,6 @@
<div>
<PageHeader :title="t('myShows.title')">
<AddShowButton />
<RadioGroup v-model="displayMode" :choices="['table', 'grid']" name="display-mode">
<template #icon="{ value }">
<icon-system-uicons-table-header v-if="value === 'table'" />
<icon-system-uicons-grid-small v-else-if="value === 'grid'" />
</template>
</RadioGroup>
</PageHeader>
<div class="tw-flex tw-gap-6 tw-justify-end tw-items-center tw-mb-6">
......@@ -52,6 +45,13 @@
{{ t('myShows.sortShows') }}
</button>
<RadioGroup v-model="displayMode" :choices="['table', 'grid']" name="display-mode">
<template #icon="{ value }">
<icon-system-uicons-table-header v-if="value === 'table'" />
<icon-system-uicons-grid-small v-else-if="value === 'grid'" />
</template>
</RadioGroup>
<AEditDialog ref="orderFilterDialog" :title="t('myShows.showOrder')" class="tw-w-min">
<OrderFilter
v-model="order"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment