File tree Expand file tree Collapse file tree 1 file changed +18
-1
lines changed
Expand file tree Collapse file tree 1 file changed +18
-1
lines changed Original file line number Diff line number Diff line change @@ -46,12 +46,19 @@ const message = computed(() => {
4646})
4747
4848/**
49- *
49+ * Reset error status in the store
5050 */
5151function clearConnectionFailedError() {
5252 store .dispatch (' clearConnectionFailed' , props .token )
5353}
5454
55+ /**
56+ * Reload the page to get a valid room object and HPB settings
57+ */
58+ function reloadApp() {
59+ window .location .reload ()
60+ }
61+
5562 </script >
5663
5764<template >
@@ -62,6 +69,16 @@ function clearConnectionFailedError() {
6269 <template #icon >
6370 <IconAlertOctagon />
6471 </template >
72+ <template #action >
73+ <NcButton
74+ variant =" primary"
75+ @click =" reloadApp" >
76+ <template #icon >
77+ <IconRefresh />
78+ </template >
79+ {{ t('spreed', 'Reload') }}
80+ </NcButton >
81+ </template >
6582 </NcEmptyContent >
6683 </NcModal >
6784</template >
You can’t perform that action at this time.
0 commit comments