diff --git a/src/PublicShareSidebar.vue b/src/PublicShareSidebar.vue index 3fd3347ecf1..c08e7f371a9 100644 --- a/src/PublicShareSidebar.vue +++ b/src/PublicShareSidebar.vue @@ -23,6 +23,7 @@ + @@ -39,6 +40,7 @@ import { t } from '@nextcloud/l10n' import NcButton from '@nextcloud/vue/dist/Components/NcButton.js' import NcLoadingIcon from '@nextcloud/vue/dist/Components/NcLoadingIcon.js' +import CallFailedDialog from './components/CallView/CallFailedDialog.vue' import CallView from './components/CallView/CallView.vue' import ChatView from './components/ChatView.vue' import MediaSettings from './components/MediaSettings/MediaSettings.vue' @@ -63,6 +65,7 @@ export default { components: { CallButton, + CallFailedDialog, CallView, ChatView, MediaSettings, @@ -118,6 +121,10 @@ export default { warnLeaving() { return !this.isLeavingAfterSessionIssue && this.isInCall }, + + connectionFailed() { + return this.$store.getters.connectionFailed(this.token) + }, }, created() { diff --git a/src/components/CallView/CallFailedDialog.vue b/src/components/CallView/CallFailedDialog.vue new file mode 100644 index 00000000000..99242d3d628 --- /dev/null +++ b/src/components/CallView/CallFailedDialog.vue @@ -0,0 +1,70 @@ + + + + + diff --git a/src/components/CallView/shared/EmptyCallView.vue b/src/components/CallView/shared/EmptyCallView.vue index 7fc355063d7..857f797861d 100644 --- a/src/components/CallView/shared/EmptyCallView.vue +++ b/src/components/CallView/shared/EmptyCallView.vue @@ -16,9 +16,6 @@

{{ message }}

-

- {{ helper }} -

@@ -30,7 +27,6 @@ diff --git a/src/views/MainView.vue b/src/views/MainView.vue index ed679a02776..9b29ee78cd6 100644 --- a/src/views/MainView.vue +++ b/src/views/MainView.vue @@ -11,6 +11,7 @@ + @@ -18,6 +19,7 @@