Configuration split to lists, send configurations and server config.
This is before testing.
This commit is contained in:
parent
4fce4b6f81
commit
c12efeb97f
40 changed files with 819 additions and 311 deletions
21
client/src/settings/root.js
Normal file
21
client/src/settings/root.js
Normal file
|
@ -0,0 +1,21 @@
|
|||
'use strict';
|
||||
|
||||
import React from "react";
|
||||
import Update from "./Update";
|
||||
|
||||
function getMenus(t) {
|
||||
return {
|
||||
'settings': {
|
||||
title: t('Global Settings'),
|
||||
link: '/settings',
|
||||
resolve: {
|
||||
configItems: params => `/rest/settings`
|
||||
},
|
||||
panelRender: props => <Update entity={props.resolved.configItems} />
|
||||
}
|
||||
};
|
||||
}
|
||||
|
||||
export default {
|
||||
getMenus
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue