|
@@ -7,6 +7,7 @@ import { IApiResponseChannelList } from "../api/Channel";
|
|
|
interface IOption {
|
|
interface IOption {
|
|
|
value: string;
|
|
value: string;
|
|
|
label: string;
|
|
label: string;
|
|
|
|
|
+ lang?: string;
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
interface IWidget {
|
|
interface IWidget {
|
|
@@ -63,7 +64,7 @@ const ChannelSelectWidget = ({
|
|
|
children: json.data.rows
|
|
children: json.data.rows
|
|
|
.filter((value) => value.studio.id === key)
|
|
.filter((value) => value.studio.id === key)
|
|
|
.map((item) => {
|
|
.map((item) => {
|
|
|
- return { value: item.uid, label: item.name };
|
|
|
|
|
|
|
+ return { value: item.uid, label: item.name, lang: item.lang };
|
|
|
}),
|
|
}),
|
|
|
};
|
|
};
|
|
|
channels.push(node);
|
|
channels.push(node);
|