mirror of
https://github.com/woodpecker-ci/woodpecker.git
synced 2025-09-03 12:43:48 +00:00
Add missing icon for changes files tab (#5068)
This commit is contained in:
parent
ed9e6235ba
commit
4f26f6dbbc
2 changed files with 9 additions and 5 deletions
|
@ -58,9 +58,10 @@
|
|||
<SvgIcon v-else-if="name === 'play'" :path="mdiPlay" size="1.3rem" />
|
||||
<SvgIcon v-else-if="name === 'play-outline'" :path="mdiPlayOutline" size="1.3rem" />
|
||||
<SvgIcon v-else-if="name === 'dots'" :path="mdiDotsVertical" size="1.3rem" />
|
||||
<SvgIcon v-else-if="name === 'tray-full'" :path="mdiTrayFull" size="24" />
|
||||
<SvgIcon v-else-if="name === 'file-cog-outlined'" :path="mdiFileCogOutline" size="24" />
|
||||
<SvgIcon v-else-if="name === 'bug-outline'" :path="mdiBugOutline" size="24" />
|
||||
<SvgIcon v-else-if="name === 'tray-full'" :path="mdiTrayFull" size="1.3rem" />
|
||||
<SvgIcon v-else-if="name === 'file-cog-outline'" :path="mdiFileCogOutline" size="1.3rem" />
|
||||
<SvgIcon v-else-if="name === 'file-edit-outline'" :path="mdiFileEditOutline" size="1.3rem" />
|
||||
<SvgIcon v-else-if="name === 'bug-outline'" :path="mdiBugOutline" size="1.3rem" />
|
||||
<SvgIcon v-else-if="name === 'docker'" :path="mdiDocker" size="1.3rem" />
|
||||
|
||||
<SvgIcon v-else-if="name === 'visibility-private'" :path="mdiLockOutline" size="1.3rem" />
|
||||
|
@ -118,6 +119,7 @@ import {
|
|||
mdiEyeOffOutline,
|
||||
mdiEyeOutline,
|
||||
mdiFileCogOutline,
|
||||
mdiFileEditOutline,
|
||||
mdiFormatListBulleted,
|
||||
mdiFormatListGroup,
|
||||
mdiGestureTap,
|
||||
|
@ -211,7 +213,8 @@ export type IconNames =
|
|||
| 'visibility-internal'
|
||||
| 'dots'
|
||||
| 'tray-full'
|
||||
| 'file-cog-outlined'
|
||||
| 'file-cog-outline'
|
||||
| 'file-edit-outline'
|
||||
| 'bug-outline'
|
||||
| 'list-group'
|
||||
| 'secret'
|
||||
|
|
|
@ -82,10 +82,11 @@
|
|||
:count="pipeline.errors?.length"
|
||||
:icon-class="pipeline.errors.some((e) => !e.is_warning) ? 'text-wp-error-100' : 'text-wp-state-warn-100'"
|
||||
/>
|
||||
<Tab icon="file-cog-outlined" :to="{ name: 'repo-pipeline-config' }" :title="$t('repo.pipeline.config')" />
|
||||
<Tab icon="file-cog-outline" :to="{ name: 'repo-pipeline-config' }" :title="$t('repo.pipeline.config')" />
|
||||
<Tab
|
||||
v-if="pipeline.changed_files && pipeline.changed_files.length > 0"
|
||||
:to="{ name: 'repo-pipeline-changed-files' }"
|
||||
icon="file-edit-outline"
|
||||
:title="$t('repo.pipeline.files')"
|
||||
:count="pipeline.changed_files?.length"
|
||||
/>
|
||||
|
|
Loading…
Reference in a new issue