|
@@ -300,6 +300,12 @@ const ChannelMy = ({
|
|
|
}),
|
|
}),
|
|
|
icon: <InfoCircleOutlined />,
|
|
icon: <InfoCircleOutlined />,
|
|
|
},
|
|
},
|
|
|
|
|
+ {
|
|
|
|
|
+ key: "library",
|
|
|
|
|
+ label: intl.formatMessage({
|
|
|
|
|
+ id: "buttons.open.in.library",
|
|
|
|
|
+ }),
|
|
|
|
|
+ },
|
|
|
],
|
|
],
|
|
|
onClick: (e) => {
|
|
onClick: (e) => {
|
|
|
const ch: IChannel = {
|
|
const ch: IChannel = {
|
|
@@ -328,6 +334,13 @@ const ChannelMy = ({
|
|
|
});
|
|
});
|
|
|
setTokenOpen(true);
|
|
setTokenOpen(true);
|
|
|
break;
|
|
break;
|
|
|
|
|
+ case "library":
|
|
|
|
|
+ window.open(
|
|
|
|
|
+ import.meta.env.VITE_APP_API_SERVER +
|
|
|
|
|
+ `/library/tipitaka?${ch.id}`,
|
|
|
|
|
+ "_blank"
|
|
|
|
|
+ );
|
|
|
|
|
+ break;
|
|
|
}
|
|
}
|
|
|
},
|
|
},
|
|
|
}}
|
|
}}
|