mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-11-21 06:52:40 +00:00
(js) Show events categories as color bands
This commit is contained in:
1 parent
ace9fa9e4e
commit
4685c0ff2a
7 files changed
+61
-52
No files matched your search
@@ -288,6 +288,7 @@
|
||||
var componentData = _.object(this.eventsFields, eventData),
|
||||
start = new Date(componentData.c_startdate * 1000);
|
||||
componentData.hour = start.getHourString();
|
||||
componentData.categories = _.invoke(componentData.c_category, 'asCSSIdentifier');
|
||||
componentData.blocks = [];
|
||||
objects.push(new Component(componentData));
|
||||
return objects;
|
||||
|
||||
Reference in new issue
Block a user