removed old templates
This commit is contained in:
parent
ea9d47ba75
commit
8fcd76c0be
8 changed files with 87 additions and 246 deletions
|
@ -11,6 +11,7 @@ import * as moment from 'moment';
|
|||
})
|
||||
export class ManageTriggerGithostComponent implements ng.IComponentController {
|
||||
|
||||
// FIXME: Use one-way data binding
|
||||
@Input('=') public repository: any;
|
||||
@Input('=') public trigger: Trigger;
|
||||
@Output() public activateTrigger: (trigger: {config: any, pull_robot: any}) => void;
|
||||
|
@ -101,10 +102,6 @@ export class ManageTriggerGithostComponent implements ng.IComponentController {
|
|||
this.$scope.$watch(() => this.local.robotOptions.filter, this.buildOrderedRobotAccounts);
|
||||
}
|
||||
|
||||
public $onChanges(changes: ng.IOnChangesObject): void {
|
||||
|
||||
}
|
||||
|
||||
public getTriggerIcon(): any {
|
||||
return this.TriggerService.getIcon(this.trigger.service);
|
||||
}
|
||||
|
@ -323,6 +320,9 @@ export class ManageTriggerGithostComponent implements ng.IComponentController {
|
|||
}
|
||||
|
||||
|
||||
/**
|
||||
* A type representing local application data.
|
||||
*/
|
||||
export type Local = {
|
||||
namespaceOptions: {
|
||||
filter: string;
|
||||
|
@ -343,10 +343,13 @@ export type Local = {
|
|||
reverse: boolean;
|
||||
page: number;
|
||||
};
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* A type representing a trigger.
|
||||
*/
|
||||
export type Trigger = {
|
||||
id: number;
|
||||
service: any;
|
||||
}
|
||||
};
|
Reference in a new issue