diff --git a/src/components/CallView/CallFailedDialog.vue b/src/components/CallView/CallFailedDialog.vue index 58d7a169c4a..c5647440f6e 100644 --- a/src/components/CallView/CallFailedDialog.vue +++ b/src/components/CallView/CallFailedDialog.vue @@ -7,9 +7,11 @@ import { t } from '@nextcloud/l10n' import { computed } from 'vue' import { useStore } from 'vuex' +import NcButton from '@nextcloud/vue/components/NcButton' import NcEmptyContent from '@nextcloud/vue/components/NcEmptyContent' import NcModal from '@nextcloud/vue/components/NcModal' import IconAlertOctagonOutline from 'vue-material-design-icons/AlertOctagonOutline.vue' +import IconRefresh from 'vue-material-design-icons/Refresh.vue' import { messagePleaseTryToReload } from '../../utils/talkDesktopUtils.ts' const props = defineProps({ @@ -46,12 +48,19 @@ const message = computed(() => { }) /** - * + * Reset error status in the store */ function clearConnectionFailedError() { store.dispatch('clearConnectionFailed', props.token) } +/** + * Reload the page to get a valid room object and HPB settings + */ +function reloadApp() { + window.location.reload() +} +