Skip to content

Commit f17bf8f

Browse files
authored
Merge pull request #745 from nextcloud/fix/ui/docker-registry-override
fix(docker-registry-override): change NcButton to NcActionButton
2 parents ef86a25 + 167e801 commit f17bf8f

3 files changed

Lines changed: 6 additions & 5 deletions

File tree

js/app_api-adminSettings.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

js/app_api-adminSettings.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/components/DaemonConfig/DockerRegistriesModal.vue

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,16 +27,15 @@
2727
<span style="color: var(--color-warning);">{{ t('app_api', 'Image pull will be skipped') }}</span>
2828
</template>
2929
<template #actions>
30-
<NcButton
31-
variant="icon"
30+
<NcActionButton
3231
:disabled="removingRegistryLoading"
3332
@click="removeDockerRegistry(registry)">
3433
<template #icon>
3534
<NcLoadingIcon v-if="removingRegistryLoading" :size="20" />
3635
<Close v-else :size="20" />
3736
</template>
3837
{{ t('app_api', 'Remove') }}
39-
</NcButton>
38+
</NcActionButton>
4039
</template>
4140
</NcListItem>
4241
</div>
@@ -127,6 +126,7 @@ import NcNoteCard from '@nextcloud/vue/components/NcNoteCard'
127126
import NcTextField from '@nextcloud/vue/components/NcTextField'
128127
import NcEmptyContent from '@nextcloud/vue/components/NcEmptyContent'
129128
import NcListItem from '@nextcloud/vue/components/NcListItem'
129+
import NcActionButton from '@nextcloud/vue/components/NcActionButton'
130130
131131
import NcLoadingIcon from '@nextcloud/vue/components/NcLoadingIcon'
132132
import Docker from 'vue-material-design-icons/Docker.vue'
@@ -144,6 +144,7 @@ export default {
144144
NcTextField,
145145
NcEmptyContent,
146146
NcListItem,
147+
NcActionButton,
147148
Docker,
148149
Plus,
149150
Check,

0 commit comments

Comments
 (0)