File tree Expand file tree Collapse file tree 3 files changed +12
-55
lines changed
contentcuration/contentcuration/frontend Expand file tree Collapse file tree 3 files changed +12
-55
lines changed Original file line number Diff line number Diff line change 1313 <!-- Full Page Errors -->
1414 <VContent class =" pa-0" >
1515 <ChannelNotFoundError
16- v-if =" showNotFoundError"
17- :backHomeLink =" myChannelsUrl"
18- />
19-
20- <ChannelDeletedError
21- v-else-if =" showDeletedError"
16+ v-if =" showNotFoundError || showDeletedError"
2217 :backHomeLink =" myChannelsUrl"
2318 />
2419
3934 import MainNavigationDrawer from ' shared/views/MainNavigationDrawer' ;
4035 import ToolBar from ' shared/views/ToolBar' ;
4136 import ChannelNotFoundError from ' shared/views/errors/ChannelNotFoundError' ;
42- import ChannelDeletedError from ' shared/views/errors/ChannelDeletedError' ;
4337 import GenericError from ' shared/views/errors/GenericError' ;
4438
4539 // NOTE: 404 Error Page for the topic level is contained inside of TreeViewBase
4640 export default {
4741 name: ' ChannelEditAppError' ,
4842 components: {
4943 ChannelNotFoundError,
50- ChannelDeletedError,
5144 GenericError,
5245 MainNavigationDrawer,
5346 ToolBar,
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 99 </template >
1010 <template #actions >
1111 <KRouterLink
12- v-bind =" backHomeLink"
12+ v-if =" backHomeLink.to"
13+ :to =" backHomeLink.to"
1314 appearance =" raised-button"
1415 :primary =" true"
1516 style =" margin-top : 1rem "
1617 >
1718 {{ $tr('backToHomeAction') }}
1819 </KRouterLink >
20+ <KExternalLink
21+ v-else
22+ :href =" backHomeLink.href"
23+ appearance =" raised-button"
24+ :primary =" true"
25+ style =" margin-top : 1rem "
26+ >
27+ {{ $tr('backToHomeAction') }}
28+ </KExternalLink >
1929 </template >
2030 </StudioAppError >
2131
You can’t perform that action at this time.
0 commit comments