Skip to content

Commit

Permalink
fix(core): ⚡ themes page
Browse files Browse the repository at this point in the history
themes page introduced

Ref #31
  • Loading branch information
techoneel committed Apr 19, 2024
1 parent 29f0caa commit 90c4e00
Show file tree
Hide file tree
Showing 13 changed files with 223 additions and 349 deletions.
4 changes: 2 additions & 2 deletions app/components.registry.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import PagesManager from "./components/PagesManager";
import RoutesManager from "./components/RoutesManager";
import StatusChangeCommentHistory from "./components/StatusChangeCommentHistory";
import StatusChangeForm from "./components/StatusChangeForm";
import ThemeContent from "./components/ThemeViewer/ThemeContent";
import ThemesManager from "./components/ThemesManager";

export const ComponentsRegistry = {
BusinessEntityComp : { comp: BusinessEntityComp },
Expand All @@ -25,5 +25,5 @@ export const ComponentsRegistry = {
RoutesManager : { comp: RoutesManager },
StatusChangeCommentHistory: { comp: StatusChangeCommentHistory },
StatusChangeForm : { comp: StatusChangeForm },
ThemeContent : { comp: ThemeContent },
ThemesManager : { comp: ThemesManager },
};
6 changes: 3 additions & 3 deletions app/components/PagesManager.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,9 @@ import StatusChangeCommentHistory from "./StatusChangeCommentHistory";
export default function PagesManager() {
const navigate = coreUseNavigate();
const dispatch = useDispatch();
const componentRegistry = useContext(ComponentRegistryContext);
const options = componentRegistry
? Object.keys(componentRegistry)?.map((com) => {
const componentsRegistry = useContext(ComponentRegistryContext);
const options = componentsRegistry
? Object.keys(componentsRegistry)?.map((com) => {
return { id: com, label: com };
})
: [];
Expand Down
98 changes: 0 additions & 98 deletions app/components/ThemeViewer/CreateTheme copy.js

This file was deleted.

15 changes: 0 additions & 15 deletions app/components/ThemeViewer/CreateTheme.js

This file was deleted.

67 changes: 0 additions & 67 deletions app/components/ThemeViewer/ThemeContent.js

This file was deleted.

38 changes: 0 additions & 38 deletions app/components/ThemeViewer/ThemeFormSchema.js

This file was deleted.

78 changes: 0 additions & 78 deletions app/components/ThemeViewer/ThemesViewer.js

This file was deleted.

Loading

0 comments on commit 90c4e00

Please sign in to comment.