diff --git a/.changeset/twelve-rules-change.md b/.changeset/twelve-rules-change.md new file mode 100644 index 000000000..6c329bfa3 --- /dev/null +++ b/.changeset/twelve-rules-change.md @@ -0,0 +1,5 @@ +--- +"frontend-gelinkt-notuleren": patch +--- + +GN-4825: Fix fetching snippets from RB diff --git a/app/controllers/regulatory-statements/edit.js b/app/controllers/regulatory-statements/edit.js index cadcac814..819b40239 100644 --- a/app/controllers/regulatory-statements/edit.js +++ b/app/controllers/regulatory-statements/edit.js @@ -95,7 +95,8 @@ import { OCMW, } from '../../utils/bestuurseenheid-classificatie-codes'; -import SnippetInsertComponent from '@lblod/ember-rdfa-editor-lblod-plugins/components/snippet-plugin/snippet-insert'; +import SnippetInsertComponent from '@lblod/ember-rdfa-editor-lblod-plugins/components/snippet-plugin/snippet-insert-rdfa'; + export default class RegulatoryStatementsRoute extends Controller { @service documentService; @service store; @@ -198,6 +199,7 @@ export default class RegulatoryStatementsRoute extends Controller { } return null; } + get config() { const municipality = this.defaultMunicipality; return { diff --git a/config/environment.js b/config/environment.js index 311519acf..e639fea6b 100644 --- a/config/environment.js +++ b/config/environment.js @@ -94,9 +94,9 @@ module.exports = function (environment) { ENV.nonZonalLocationCodelistUri = 'http://lblod.data.gift/concept-schemes/62331FDD00730AE7B99DF7F2'; ENV.regulatoryStatementEndpoint = - 'https://futurenow.reglementaire-bijlagen.lblod.info/raw-sparql'; + 'https://dev.reglementairebijlagen.lblod.info/raw-sparql'; ENV.regulatoryStatementFileEndpoint = - 'https://futurenow.reglementaire-bijlagen.lblod.info/files'; + 'https://dev.reglementairebijlagen.lblod.info/files'; // ENV.APP.LOG_RESOLVER = true; // ENV.APP.LOG_ACTIVE_GENERATION = true; // ENV.APP.LOG_TRANSITIONS = true;