From 91fcfbcd9d6a386ab1bc60306d7b69920bce06d3 Mon Sep 17 00:00:00 2001 From: Ilya Y <75578537+ilya-bkv@users.noreply.github.com> Date: Thu, 28 Sep 2023 13:18:39 +0300 Subject: [PATCH] create audio - hide actions (#240) --- src/components/Views/Edit.tsx | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/src/components/Views/Edit.tsx b/src/components/Views/Edit.tsx index d3ed8179..2c5ac948 100644 --- a/src/components/Views/Edit.tsx +++ b/src/components/Views/Edit.tsx @@ -1,4 +1,4 @@ -import { Accessor, createMemo, createSignal, onCleanup, onMount, Show } from 'solid-js' +import { Accessor, createEffect, createMemo, createSignal, onCleanup, onMount, Show } from 'solid-js' import { useLocalize } from '../../context/localize' import { clsx } from 'clsx' import { Title } from '@solidjs/meta' @@ -231,6 +231,9 @@ export const EditView = (props: Props) => { setIsLeadVisible(true) } + createEffect(() => { + console.log("!!! props.shout.layout !== 'audio':", props.shout.layout) + }) return ( <>
@@ -259,12 +262,12 @@ export const EditView = (props: Props) => {
- +
{t('Add subtitle')}
- +
{t('Add intro')}