@lvce-editor/problems-view 1.4.0 → 1.5.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -1837,8 +1837,7 @@ const getProblemsVirtualDom$1 = (viewMode, problems, filterValue) => {
|
|
|
1837
1837
|
if (viewMode === Table) {
|
|
1838
1838
|
return getProblemsTableVirtualDom(problems);
|
|
1839
1839
|
}
|
|
1840
|
-
|
|
1841
|
-
return dom;
|
|
1840
|
+
return getProblemsListVirtualDom(problems);
|
|
1842
1841
|
};
|
|
1843
1842
|
|
|
1844
1843
|
const getProblemsVirtualDom = (viewMode, problems, filterValue, isSmall) => {
|
|
@@ -2031,7 +2030,10 @@ const getActions = state => {
|
|
|
2031
2030
|
return actions;
|
|
2032
2031
|
};
|
|
2033
2032
|
|
|
2034
|
-
const renderActions =
|
|
2033
|
+
const renderActions = uid => {
|
|
2034
|
+
const {
|
|
2035
|
+
newState
|
|
2036
|
+
} = get(uid);
|
|
2035
2037
|
const actions = getActions(newState);
|
|
2036
2038
|
const dom = getActionsVirtualDom(actions);
|
|
2037
2039
|
return dom;
|