mirror of
https://github.com/zhigang1992/deployd.git
synced 2026-05-13 12:37:17 +08:00
Fixed bug where custom resource events would not show up in the dashboard
This commit is contained in:
@@ -63,7 +63,7 @@ InternalResources.prototype.handle = function(ctx, next) {
|
||||
var c = types[key]
|
||||
, pages = c.prototype.dashboard && c.prototype.dashboard.pages;
|
||||
|
||||
if (!pages && c.eventNames) {
|
||||
if (!pages && c.prototype.eventNames) {
|
||||
pages = ['Config', 'Events'];
|
||||
}
|
||||
result[key] = {
|
||||
|
||||
Reference in New Issue
Block a user