mesh-ui
mesh-ui copied to clipboard
Node data not showing in UI
I have content in multiple languages beyond those of DE, PT, ZH so I need to use mesh-ui2-config.js
to display them.
Issue is that although I add content to a node such as slug and name to begin with, after I add it and attempt to view it, no data is visible in side pane that opens, not even title.
If I press on add tag and cancel, then title appears but still no content. Looking at API request, it retrieves data from backend.
I have tested this on:
- 1.5.1
- 1.5.2
- 1.6.0
- 1.4.0
Content of
mesh-ui-config.js
(function (window, document) {
var meshUiConfig = {
apiUrl: '/api/v1/',
defaultLanguage: 'en',
availableLanguages: ['en', 'de', 'it', 'nl', 'ro', 'sv', 'hu', 'pl'],
microschemaControlsLocation: '/microschemaControls',
microschemaControls: [
],
alohaPlugins: [],
alohaSettings: {},
tagDisplayLimit: 3
};
window.meshUiConfig = meshUiConfig;
})(window, document);
mesh-ui2-config.js
/* MESH UI configuration file */
window.MeshUiConfig = {
defaultLanguage: 'en',
uiLanguages: ['en', 'de', 'it', 'nl', 'ro', 'sv', 'hu', 'pl'],
contentLanguages: ['en', 'de', 'it', 'nl', 'ro', 'sv', 'hu', 'pl'],
fallbackLanguage: 'en',
anonymousUsername: 'anonymous',
contentItemsPerPage: 8,
microschemaControlsLocation: '/microschemaControls',
microschemaControls: [
],
};
Logs of cms: https://pastebin.com/qicpivsE
Picture of issue:
Also language dropdown does not show name of language, just ISO code, but data being displayed is of interest.