Browse Source
Add empty alt tags for decorative icons
Signed-off-by: Joas Schilling <coding@schilljs.com>
pull/33480/head
Joas Schilling
4 years ago
No known key found for this signature in database
GPG Key ID: 74434EFE0D2E2205
4 changed files with
8 additions and
8 deletions
-
apps/workflowengine/src/components/Checks/FileMimeType.vue
-
apps/workflowengine/src/components/Event.vue
-
dist/workflowengine-workflowengine.js
-
dist/workflowengine-workflowengine.js.map
|
|
|
@ -32,12 +32,12 @@ |
|
|
|
@input="setValue"> |
|
|
|
<template slot="singleLabel" slot-scope="props"> |
|
|
|
<span v-if="props.option.icon" class="option__icon" :class="props.option.icon" /> |
|
|
|
<img v-else class="option__icon-img" :src="props.option.iconUrl"> |
|
|
|
<img v-else class="option__icon-img" :src="props.option.iconUrl" alt=""> |
|
|
|
<span class="option__title option__title_single">{{ props.option.label }}</span> |
|
|
|
</template> |
|
|
|
<template slot="option" slot-scope="props"> |
|
|
|
<span v-if="props.option.icon" class="option__icon" :class="props.option.icon" /> |
|
|
|
<img v-else class="option__icon-img" :src="props.option.iconUrl"> |
|
|
|
<img v-else class="option__icon-img" :src="props.option.iconUrl" alt=""> |
|
|
|
<span class="option__title">{{ props.option.label }}</span> |
|
|
|
</template> |
|
|
|
</Multiselect> |
|
|
|
|
|
|
|
@ -1,7 +1,7 @@ |
|
|
|
<template> |
|
|
|
<div class="event"> |
|
|
|
<div v-if="operation.isComplex && operation.fixedEntity !== ''" class="isComplex"> |
|
|
|
<img class="option__icon" :src="entity.icon"> |
|
|
|
<img class="option__icon" :src="entity.icon" alt=""> |
|
|
|
<span class="option__title option__title_single">{{ operation.triggerHint }}</span> |
|
|
|
</div> |
|
|
|
<Multiselect v-else |
|
|
|
@ -14,12 +14,12 @@ |
|
|
|
@input="updateEvent"> |
|
|
|
<template slot="selection" slot-scope="{ values, isOpen }"> |
|
|
|
<div v-if="values.length && !isOpen" class="eventlist"> |
|
|
|
<img class="option__icon" :src="values[0].entity.icon"> |
|
|
|
<img class="option__icon" :src="values[0].entity.icon" alt=""> |
|
|
|
<span v-for="(value, index) in values" :key="value.id" class="text option__title option__title_single">{{ value.displayName }} <span v-if="index+1 < values.length">, </span></span> |
|
|
|
</div> |
|
|
|
</template> |
|
|
|
<template slot="option" slot-scope="props"> |
|
|
|
<img class="option__icon" :src="props.option.entity.icon"> |
|
|
|
<img class="option__icon" :src="props.option.entity.icon" alt=""> |
|
|
|
<span class="option__title">{{ props.option.displayName }}</span> |
|
|
|
</template> |
|
|
|
</Multiselect> |
|
|
|
|