Skip to content

Commit

Permalink
GN-4771: Regulatory statements not showing in agendapoint
Browse files Browse the repository at this point in the history
Closes #637
  • Loading branch information
dkozickis committed Apr 10, 2024
1 parent 26d5b72 commit cb2efe0
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 1 deletion.
7 changes: 7 additions & 0 deletions .changeset/fluffy-dolphins-report.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
---
"frontend-gelinkt-notuleren": patch
---

GN-4771: Regulatory statements not showing in agendapoint

Fix `emberNodeConfig` definition for `regulatory-statement-view` to use `component` instead of old `componentPath`.
10 changes: 9 additions & 1 deletion app/editor-plugins/regulatory-statements-plugin/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,18 @@ import {
createEmberNodeSpec,
createEmberNodeView,
} from '@lblod/ember-rdfa-editor/utils/ember-node';
import ReadOnlyContentSectionComponent from 'frontend-gelinkt-notuleren/components/editor-plugins/regulatory-statements/view';

/**
* @typedef {import('@lblod/ember-rdfa-editor/utils/ember-node').EmberNodeConfig} EmberNodeConfig
*/

/**
* @type {EmberNodeConfig}
*/
const emberNodeConfig = {
name: 'regulatory-statement-view',
componentPath: 'editor-plugins/regulatory-statements/view',
component: ReadOnlyContentSectionComponent,
inline: false,
group: 'block',
atom: true,
Expand Down

0 comments on commit cb2efe0

Please sign in to comment.