diff --git a/src/components/AdminSettings/HostedSignalingServer.vue b/src/components/AdminSettings/HostedSignalingServer.vue index d2d86837cec..56a25216931 100644 --- a/src/components/AdminSettings/HostedSignalingServer.vue +++ b/src/components/AdminSettings/HostedSignalingServer.vue @@ -129,6 +129,8 @@ import NcButton from '@nextcloud/vue/dist/Components/NcButton.js' import NcSelect from '@nextcloud/vue/dist/Components/NcSelect.js' import NcTextField from '@nextcloud/vue/dist/Components/NcTextField.js' +import { EventBus } from '../../services/EventBus.js' + export default { name: 'HostedSignalingServer', @@ -209,8 +211,12 @@ export default { this.hostedHPBCountry = this.countries.find(country => country.code === state.country) ?? this.countries[0] const signaling = loadState('spreed', 'signaling_servers') - this.showForm = this.trialAccount.length !== 0 - || signaling.servers.length === 0 + this.updateSignalingServers(signaling.servers) + EventBus.on('signaling-servers-updated', this.updateSignalingServers) + }, + + beforeDestroy() { + EventBus.off('signaling-servers-updated', this.updateSignalingServers) }, methods: { @@ -250,6 +256,10 @@ export default { this.loading = false } }, + + updateSignalingServers(servers) { + this.showForm = this.trialAccount.length !== 0 || servers.length === 0 + }, }, } diff --git a/src/components/AdminSettings/RecordingServers.vue b/src/components/AdminSettings/RecordingServers.vue index 589c57dde57..9649d38d9c1 100644 --- a/src/components/AdminSettings/RecordingServers.vue +++ b/src/components/AdminSettings/RecordingServers.vue @@ -10,63 +10,69 @@ {{ t('spreed', 'Recording backend') }} - - {{ uploadLimitWarning }} + + {{ t('spreed', 'Recording backend configuration is only possible with a high-performance backend.') }} - - - - - - - {{ t('spreed', 'Add a new recording backend server') }} - - - - -