Parcourir la source

add channelType channelLang

visuddhinanda il y a 2 ans
Parent
commit
bc3c72ccbc
1 fichiers modifiés avec 2 ajouts et 0 suppressions
  1. 2 0
      dashboard/src/components/template/SentEdit/SentContent.tsx

+ 2 - 0
dashboard/src/components/template/SentEdit/SentContent.tsx

@@ -134,6 +134,8 @@ const SentContentWidget = ({
                 wordEnd={wordEnd}
                 magicDict={magicDict}
                 channelId={item.channel.id}
+                channelType={item.channel.type}
+                channelLang={item.channel.lang}
                 data={JSON.parse(item.content ? item.content : "")}
                 mode={mode}
                 wbwProgress={wbwProgress}