更新
This commit is contained in:
@@ -60,6 +60,8 @@ const props = defineProps<{
|
||||
chatReady: Readonly<Ref<boolean>>
|
||||
chatBusy: Readonly<Ref<boolean>>
|
||||
notice: Readonly<Ref<string>>
|
||||
canVideoCall: Readonly<Ref<boolean>>
|
||||
callDisabledReason: Readonly<Ref<string>>
|
||||
hasMoreMessages: Readonly<Ref<boolean>>
|
||||
transcriptionState: Readonly<Ref<string>>
|
||||
localRecordingState: Readonly<Ref<string>>
|
||||
@@ -308,6 +310,7 @@ watch(
|
||||
</button>
|
||||
<button
|
||||
class="primary-action"
|
||||
v-if="canVideoCall.value"
|
||||
type="button"
|
||||
:disabled="actionBusy || isCalling || !chatReady.value"
|
||||
@click="runAction(onStartVideo)"
|
||||
@@ -383,6 +386,9 @@ watch(
|
||||
</div>
|
||||
|
||||
<footer class="composer">
|
||||
<div v-if="callDisabledReason.value" class="inline-notice" role="status">
|
||||
{{ callDisabledReason.value }}
|
||||
</div>
|
||||
<div v-if="localError || notice.value" class="inline-notice" :class="{ 'inline-notice--error': localError }">
|
||||
{{ localError || notice.value }}
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user