|
|
@@ -43,6 +43,9 @@ const SentCanReadWidget = ({
|
|
|
const sentId = `${book}-${para}-${wordStart}-${wordEnd}`;
|
|
|
let url = `/v2/sentence?view=sent-can-read&sentence=${sentId}&type=${type}&mode=edit&html=true`;
|
|
|
url += channelsId ? `&excludes=${channelsId.join()}` : "";
|
|
|
+ if (type === "commentary") {
|
|
|
+ url += channelsId ? `&channels=${channelsId.join()}` : "";
|
|
|
+ }
|
|
|
console.log("url", url);
|
|
|
get<ISentenceListResponse>(url)
|
|
|
.then((json) => {
|