File tree Expand file tree Collapse file tree 2 files changed +2
-11
lines changed Expand file tree Collapse file tree 2 files changed +2
-11
lines changed Original file line number Diff line number Diff line change 1414 class =" navigator"
1515 >
1616 <NavigatorCard
17- v-show =" !isFetching"
17+ v-if =" !isFetching"
1818 v-bind =" technologyProps"
1919 :type =" type"
2020 :children =" flatChildren"
3636 </NavigatorCard >
3737 <LoadingNavigatorCard
3838 @close =" $emit('close')"
39- v-if = " isFetching "
39+ v-else
4040 />
4141 <div aria-live =" polite" class =" visuallyhidden" >
4242 {{ $t('navigator.navigator-is', {
Original file line number Diff line number Diff line change @@ -126,15 +126,6 @@ describe('Navigator', () => {
126126 expect ( wrapper . find ( LoadingNavigatorCard ) . exists ( ) ) . toBe ( false ) ;
127127 } ) ;
128128
129- it ( 'adds display:none to NavigatorCard when navigator is loading' , ( ) => {
130- const wrapper = createWrapper ( {
131- propsData : {
132- isFetching : true ,
133- } ,
134- } ) ;
135- expect ( wrapper . find ( NavigatorCard ) . attributes ( 'style' ) ) . toContain ( 'display: none' ) ;
136- } ) ;
137-
138129 it ( 'renders an aria live that tells VO users when navigator is ready' , ( ) => {
139130 const wrapper = createWrapper ( ) ;
140131 expect ( wrapper . find ( '[aria-live="polite"]' ) . exists ( ) ) . toBe ( true ) ;
You can’t perform that action at this time.
0 commit comments