@eturnity/eturnity_reusable_components 9.37.6 → 9.37.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -132,7 +132,7 @@
|
|
|
132
132
|
</SearchContainer>
|
|
133
133
|
<Spinner v-if="optionsLoading" size="small" />
|
|
134
134
|
<EmptyText v-else-if="!optionsLoading && !optionItems.length">
|
|
135
|
-
{{ emptyText ? emptyText : $gettext('
|
|
135
|
+
{{ emptyText ? emptyText : $gettext('no_components_found') }}
|
|
136
136
|
</EmptyText>
|
|
137
137
|
<OptionsItem
|
|
138
138
|
v-for="(item, index) in optionItems"
|
|
@@ -117,7 +117,7 @@ describe('TableDropdown', () => {
|
|
|
117
117
|
|
|
118
118
|
it('shows the default empty text when there are no options', () => {
|
|
119
119
|
const wrapper = mountDropdown({ isOpen: true, optionItems: [] })
|
|
120
|
-
expect(wrapper.text()).toContain('
|
|
120
|
+
expect(wrapper.text()).toContain('no_components_found')
|
|
121
121
|
})
|
|
122
122
|
|
|
123
123
|
it('shows a custom empty text when provided', () => {
|