visuddhinanda пре 2 година
родитељ
комит
95a624c7b4
1 измењених фајлова са 3 додато и 3 уклоњено
  1. 3 3
      dashboard/src/components/article/RightPanel.tsx

+ 3 - 3
dashboard/src/components/article/RightPanel.tsx

@@ -15,7 +15,7 @@ interface IWidget {
   curr?: TPanelName;
   curr?: TPanelName;
   type: ArticleType;
   type: ArticleType;
   articleId: string;
   articleId: string;
-  selectedChannelKeys?: string[];
+  selectedChannelsId?: string[];
   onChannelSelect?: Function;
   onChannelSelect?: Function;
   onClose?: Function;
   onClose?: Function;
   onTabChange?: Function;
   onTabChange?: Function;
@@ -25,7 +25,7 @@ const RightPanelWidget = ({
   type,
   type,
   articleId,
   articleId,
   onChannelSelect,
   onChannelSelect,
-  selectedChannelKeys,
+  selectedChannelsId,
   onClose,
   onClose,
   onTabChange,
   onTabChange,
 }: IWidget) => {
 }: IWidget) => {
@@ -108,7 +108,7 @@ const RightPanelWidget = ({
                 <ChannelPickerTable
                 <ChannelPickerTable
                   type={type}
                   type={type}
                   articleId={articleId}
                   articleId={articleId}
-                  selectedKeys={selectedChannelKeys}
+                  selectedKeys={selectedChannelsId}
                   onSelect={(e: IChannel[]) => {
                   onSelect={(e: IChannel[]) => {
                     console.log(e);
                     console.log(e);
                     if (typeof onChannelSelect !== "undefined") {
                     if (typeof onChannelSelect !== "undefined") {