|
@@ -6,6 +6,7 @@ import { grammar } from "../../../reducers/command";
|
|
|
import { IWbw, IWbwField } from "./WbwWord";
|
|
import { IWbw, IWbwField } from "./WbwWord";
|
|
|
import { useIntl } from "react-intl";
|
|
import { useIntl } from "react-intl";
|
|
|
import { useState } from "react";
|
|
import { useState } from "react";
|
|
|
|
|
+import { openPanel } from "../../../reducers/right-panel";
|
|
|
|
|
|
|
|
interface IWidget {
|
|
interface IWidget {
|
|
|
data: IWbw;
|
|
data: IWbw;
|
|
@@ -48,6 +49,7 @@ const WbwDetailBasicRelationWidget = ({
|
|
|
.join(",");
|
|
.join(",");
|
|
|
console.debug("from", fromList, endCase);
|
|
console.debug("from", fromList, endCase);
|
|
|
store.dispatch(grammar(endCase));
|
|
store.dispatch(grammar(endCase));
|
|
|
|
|
+ store.dispatch(openPanel("grammar"));
|
|
|
}
|
|
}
|
|
|
}}
|
|
}}
|
|
|
icon={<QuestionCircleOutlined />}
|
|
icon={<QuestionCircleOutlined />}
|