diff --git a/src/components/TopBar/TopBar.vue b/src/components/TopBar/TopBar.vue
index 7e5b0293697..8fb2d8b2489 100644
--- a/src/components/TopBar/TopBar.vue
+++ b/src/components/TopBar/TopBar.vue
@@ -87,8 +87,7 @@
class="local-media-controls dark-hover"
:token="token"
:model="localMediaModel"
- :show-actions="!isSidebar"
- :screen-sharing-button-hidden="isSidebar"
+ :is-sidebar="isSidebar"
:local-call-participant-model="localCallParticipantModel" />
diff --git a/src/components/TopBar/TopBarMediaControls.vue b/src/components/TopBar/TopBarMediaControls.vue
index 20af35667de..f18d29533e6 100644
--- a/src/components/TopBar/TopBarMediaControls.vue
+++ b/src/components/TopBar/TopBarMediaControls.vue
@@ -70,7 +70,7 @@
:model="model"
color="#ffffff" />
-
-
+
+
+
+
+
@@ -186,18 +183,6 @@ export default {
type: Object,
required: true,
},
- screenSharingButtonHidden: {
- type: Boolean,
- default: false,
- },
- showActions: {
- type: Boolean,
- default: true,
- },
-
- /**
- * In the sidebar the conversation settings are hidden
- */
isSidebar: {
type: Boolean,
default: false,
@@ -205,8 +190,9 @@ export default {
},
setup() {
- const isInCall = useIsInCall()
- return { isInCall }
+ return {
+ isInCall: useIsInCall(),
+ }
},
data() {