mirror of
https://github.com/hcengineering/platform.git
synced 2026-09-13 05:07:43 +02:00
Hidden RoomLanguageSelector (#8952)
This commit is contained in:
@@ -60,7 +60,8 @@ import {
|
||||
TypeRef,
|
||||
TypeString,
|
||||
UX,
|
||||
TypeBoolean
|
||||
TypeBoolean,
|
||||
Hidden
|
||||
} from '@hcengineering/model'
|
||||
import calendar, { TEvent, TSchedule } from '@hcengineering/model-calendar'
|
||||
import core, { TAttachedDoc, TDoc } from '@hcengineering/model-core'
|
||||
@@ -110,6 +111,7 @@ export class TRoom extends TDoc implements Room {
|
||||
y!: number
|
||||
|
||||
@Prop(TypeString(), love.string.Language, { editor: love.component.RoomLanguageEditor })
|
||||
@Hidden()
|
||||
language!: RoomLanguage
|
||||
|
||||
@Prop(TypeBoolean(), love.string.StartWithTranscription)
|
||||
|
||||
@@ -184,11 +184,11 @@
|
||||
</script>
|
||||
|
||||
<ControlBarContainer bind:noLabel>
|
||||
<svelte:fragment slot="right">
|
||||
<!-- <svelte:fragment slot="right">
|
||||
{#if $isConnected && isTranscriptionAllowed() && $isTranscription}
|
||||
<RoomLanguageSelector {room} kind="icon" />
|
||||
{/if}
|
||||
</svelte:fragment>
|
||||
</svelte:fragment> -->
|
||||
<svelte:fragment slot="center">
|
||||
{#if room._id !== love.ids.Reception}
|
||||
<ModernButton
|
||||
|
||||
@@ -196,9 +196,9 @@
|
||||
<span class="overflow-label text-md flex-grow">
|
||||
<Label label={getRoomLabel(room, $personByIdStore)} />
|
||||
</span>
|
||||
{#if !isOffice(room)}
|
||||
<!-- {#if !isOffice(room)}
|
||||
<RoomLanguage {room} />
|
||||
{/if}
|
||||
{/if} -->
|
||||
{#if room.access === RoomAccess.DND || room.type === RoomType.Video}
|
||||
<div class="flex-row-center flex-no-shrink h-full flex-gap-2">
|
||||
{#if room.access === RoomAccess.DND}
|
||||
|
||||
@@ -33,12 +33,12 @@
|
||||
</script>
|
||||
|
||||
<div class="antiGrid">
|
||||
<div class="antiGrid-row">
|
||||
<!-- <div class="antiGrid-row">
|
||||
<div class="antiGrid-row__header">
|
||||
<Label label={ui.string.Language} />
|
||||
</div>
|
||||
<RoomLanguageSelector {room} />
|
||||
</div>
|
||||
</div> -->
|
||||
<div class="antiGrid-row">
|
||||
<div class="antiGrid-row__header">
|
||||
<Label label={love.string.StartWithTranscription} />
|
||||
|
||||
Reference in New Issue
Block a user