Browse Source

fix(nc-gui): add alt attribute for image

pull/8188/head
Ramesh Mane 9 months ago
parent
commit
272c54a05a
  1. 6
      packages/nc-gui/components/smartsheet/toolbar/CreateGroupBy.vue
  2. 6
      packages/nc-gui/components/smartsheet/toolbar/CreateSort.vue
  3. 6
      packages/nc-gui/components/smartsheet/toolbar/FieldsMenu.vue

6
packages/nc-gui/components/smartsheet/toolbar/CreateGroupBy.vue

@ -115,7 +115,11 @@ const onArrowUp = () => {
<div class="flex-col w-full max-h-100 nc-scrollbar-thin !overflow-y-auto px-2 pb-2">
<div v-if="!options.length" class="px-2 py-6 text-gray-500 flex flex-col items-center gap-6">
<img src="~assets/img/placeholder/no-search-result-found.png" class="!w-[164px] flex-none" />
<img
src="~assets/img/placeholder/no-search-result-found.png"
class="!w-[164px] flex-none"
alt="No search results found"
/>
{{ $t('title.noResultsMatchedYourSearch') }}
</div>

6
packages/nc-gui/components/smartsheet/toolbar/CreateSort.vue

@ -112,7 +112,11 @@ const onArrowUp = () => {
<div class="flex-col w-full max-h-100 nc-scrollbar-thin !overflow-y-auto px-2 pb-2">
<div v-if="!options.length" class="px-2 py-6 text-gray-500 flex flex-col items-center gap-6">
<img src="~assets/img/placeholder/no-search-result-found.png" class="!w-[164px] flex-none" />
<img
src="~assets/img/placeholder/no-search-result-found.png"
class="!w-[164px] flex-none"
alt="No search results found"
/>
{{ $t('title.noResultsMatchedYourSearch') }}
</div>

6
packages/nc-gui/components/smartsheet/toolbar/FieldsMenu.vue

@ -384,7 +384,11 @@ useMenuCloseOnEsc(open)
v-if="!fields?.filter((el) => el.title.toLowerCase().includes(filterQuery.toLowerCase())).length"
class="px-2 py-6 text-gray-500 flex flex-col items-center gap-6"
>
<img src="~assets/img/placeholder/no-search-result-found.png" class="!w-[164px] flex-none" />
<img
src="~assets/img/placeholder/no-search-result-found.png"
class="!w-[164px] flex-none"
alt="No search results found"
/>
{{ $t('title.noResultsMatchedYourSearch') }}
</div>

Loading…
Cancel
Save