Skip to content

Commit

Permalink
chore: replace "public" ToggleButton by a ToggleSwitch #356
Browse files Browse the repository at this point in the history
  • Loading branch information
bsilkyn committed May 15, 2024
1 parent 895eab0 commit 6442d86
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions frontend/src/views/admin/DockerImagesView.vue
Original file line number Diff line number Diff line change
Expand Up @@ -117,12 +117,10 @@ const upload = async (event: FileUploadUploaderEvent): Promise<void> => {
class="p-col"
>
<template #body="{ data }">
<ToggleButton
class="mb-3 gap-3"
<InputSwitch
class="mb-3 gap-3 justify-content-center"
:model-value="data.public"
@click="() => toggleSafetyGuard(data)"
:on-label="t('admin.docker_images.public')"
:off-label="t('admin.docker_images.private')"
/>
</template>
</Column>
Expand Down

0 comments on commit 6442d86

Please sign in to comment.