admin: improve video panels

Signed-off-by: Varun Patil <radialapps@gmail.com>
pull/888/head
Varun Patil 2023-10-21 12:16:19 -07:00
parent bdf39678ed
commit e04bb0a7b6
2 changed files with 9 additions and 3 deletions

View File

@ -24,7 +24,10 @@
{{ t('memories', 'External Link') }}
</a>
<NcNoteCard :type="vaapiStatusType" v-if="status && !config['memories.vod.external']">
<NcNoteCard
:type="vaapiStatusType"
v-if="status && enableTranscoding && !config['memories.vod.external'] && config['memories.vod.vaapi']"
>
{{ vaapiStatusText }}
</NcNoteCard>
@ -57,7 +60,10 @@
)
}}
<NcNoteCard type="warning">
<NcNoteCard
type="warning"
v-if="status && enableTranscoding && !config['memories.vod.external'] && config['memories.vod.nvenc']"
>
{{ t('memories', 'No automated tests are available for NVIDIA acceleration.') }}
</NcNoteCard>

View File

@ -12,7 +12,7 @@
{{ t('memories', 'External Link') }}
</a>
<template v-if="status">
<template v-if="status && enableTranscoding">
<NcNoteCard :type="binaryStatusType(status.govod)">
{{ binaryStatus('go-vod', status.govod) }}
</NcNoteCard>