Skip to content

Commit 6ef4377

Browse files
committed
Revert "Add ability to enable camera in personal office"
This reverts commit 3aba55d.
1 parent 3aba55d commit 6ef4377

File tree

5 files changed

+5
-58
lines changed

5 files changed

+5
-58
lines changed

models/love/src/index.ts

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -96,10 +96,7 @@ export class TRoom extends TDoc implements Room {
9696
@Index(IndexKind.FullText)
9797
description!: MarkupBlobRef | null
9898

99-
@Prop(TypeAny(love.component.RoomTypePresenter, love.string.Video), love.string.Video, {
100-
editor: love.component.RoomTypePresenter
101-
})
102-
type!: RoomType
99+
type!: RoomType
103100

104101
access!: RoomAccess
105102

plugins/love-resources/src/components/EditRoom.svelte

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,8 @@
1313
// limitations under the License.
1414
-->
1515
<script lang="ts">
16-
import { EditBox, Icon, ModernButton } from '@hcengineering/ui'
17-
import { Room, isOffice, type ParticipantInfo, RoomType } from '@hcengineering/love'
16+
import { EditBox, ModernButton } from '@hcengineering/ui'
17+
import { Room, isOffice, type ParticipantInfo } from '@hcengineering/love'
1818
import { createEventDispatcher, onMount } from 'svelte'
1919
import { personByIdStore } from '@hcengineering/contact-resources'
2020
import { IntlString } from '@hcengineering/platform'
@@ -95,7 +95,6 @@
9595

9696
<div class="flex-row-stretch">
9797
<div class="row flex-grow">
98-
<Icon icon={object.type === RoomType.Video ? love.icon.CamEnabled : love.icon.CamDisabled} size={'small'} />
9998
<div class="name">
10099
<EditBox disabled={true} placeholder={love.string.Room} bind:value={roomName} focusIndex={1} />
101100
</div>

plugins/love-resources/src/components/RoomTypePresenter.svelte

Lines changed: 0 additions & 46 deletions
This file was deleted.

plugins/love-resources/src/index.ts

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,6 @@ import MediaPopupItemExt from './components/MediaPopupItemExt.svelte'
2828
import SharingStateIndicator from './components/SharingStateIndicator.svelte'
2929
import MeetingScheduleData from './components/MeetingScheduleData.svelte'
3030
import EditMeetingScheduleData from './components/EditMeetingScheduleData.svelte'
31-
import RoomTypePresenter from './components/RoomTypePresenter.svelte'
3231

3332
import {
3433
copyGuestLink,
@@ -72,8 +71,7 @@ export default async (): Promise<Resources> => ({
7271
MediaPopupItemExt,
7372
SharingStateIndicator,
7473
MeetingScheduleData,
75-
EditMeetingScheduleData,
76-
RoomTypePresenter
74+
EditMeetingScheduleData
7775
},
7876
function: {
7977
CreateMeeting: createMeeting,

plugins/love-resources/src/plugin.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,8 +36,7 @@ export default mergeIds(loveId, love, {
3636
MeetingMinutesDocEditor: '' as AnyComponent,
3737
MeetingMinutesStatusPresenter: '' as AnyComponent,
3838
MeetingScheduleData: '' as AnyComponent,
39-
EditMeetingScheduleData: '' as AnyComponent,
40-
RoomTypePresenter: '' as AnyComponent
39+
EditMeetingScheduleData: '' as AnyComponent
4140
},
4241
function: {
4342
CreateMeeting: '' as Resource<DocCreateFunction>,

0 commit comments

Comments
 (0)