refactor: improvements made to how banners are to be dismissed (#3656)
This commit is contained in:
committed by
GitHub
parent
93082c3816
commit
cf8b5975ac
@@ -214,7 +214,7 @@
|
||||
<AppBanner
|
||||
v-if="bannerContent"
|
||||
:banner="bannerContent"
|
||||
:dismissible="true"
|
||||
:dismissable="bannerContent.dismissible"
|
||||
@dismiss="dismissOfflineBanner"
|
||||
/>
|
||||
<TeamsModal :show="showTeamsModal" @hide-modal="showTeamsModal = false" />
|
||||
@@ -295,6 +295,7 @@ const offlineBanner: BannerContent = {
|
||||
text: (t) => t("helpers.offline"),
|
||||
alternateText: (t) => t("helpers.offline_short"),
|
||||
score: BANNER_PRIORITY_HIGH,
|
||||
dismissible: true,
|
||||
}
|
||||
|
||||
const network = reactive(useNetwork())
|
||||
|
||||
Reference in New Issue
Block a user