Awards as separate menu item
This commit is contained in:
1 parent
aef05d6937
commit
f27cc4003f
7 files changed
+35
-11
No files matched your search
@@ -54,7 +54,7 @@ function type() {
|
||||
return route.get('/documents/type/:type', async(ctx, type) => {
|
||||
let types = {
|
||||
'document': ['documents', {type: 'document'}, populateDocPreview],
|
||||
'award': ['documents', {type: 'award'}, populateDocPreview]
|
||||
'award': ['awards', {type: 'award'}, populateDocPreview]
|
||||
}
|
||||
|
||||
if (type in types) {
|
||||
|
||||
Reference in new issue
Block a user