mirror of
https://github.com/element-hq/element-web
synced 2024-11-29 12:58:53 +03:00
Remove check that prevents Jitsi widgets from being unpinned
Later in the code we do a conditional on the widget type to auto-pin the widget, so we don't need this one to force the widget higher. Fixes https://github.com/vector-im/element-web/issues/16280
This commit is contained in:
parent
33a86f6cbe
commit
08b067fd68
1 changed files with 0 additions and 5 deletions
|
@ -201,11 +201,6 @@ export class WidgetLayoutStore extends ReadyWatchingStore {
|
|||
const topWidgets: IApp[] = [];
|
||||
const rightWidgets: IApp[] = [];
|
||||
for (const widget of widgets) {
|
||||
if (WidgetType.JITSI.matches(widget.type)) {
|
||||
topWidgets.push(widget);
|
||||
continue;
|
||||
}
|
||||
|
||||
const stateContainer = roomLayout?.widgets?.[widget.id]?.container;
|
||||
const manualContainer = userLayout?.widgets?.[widget.id]?.container;
|
||||
const isLegacyPinned = !!legacyPinned?.[widget.id];
|
||||
|
|
Loading…
Reference in a new issue