-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdashboardConfig.js
43 lines (42 loc) · 969 Bytes
/
dashboardConfig.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
import {feedSettings} from './dashboardfeed';
export default {
widgets: [
{
name: 'feed-widget',
options: feedSettings
},
{
name: 'structure-menu',
layout: {width: 'large'}
},
{
name: 'document-list',
options: {
title: 'Last edited content',
order: '_updatedAt desc',
limit: 7,
types: ['pageContent', 'hymn', 'liturgy', 'prayer','category','author','copyright','scripture','tune']
},
layout: {width: 'small'}
},
{
name: 'document-list',
options: {
title: 'Latest created users',
order: '_createdAt desc',
limit: 7,
types: ['user', 'null'],
createButton: false
},
layout: {width: 'small'}
},
{
name: 'document-chart',
options: {
title: 'Document chart',
types: ['pageContent', 'hymn', 'liturgy', 'prayer']
},
layout: {width: 'large'}
}
]
};