mirror of
https://github.com/turt2live/matrix-dimension.git
synced 2024-10-01 05:05:53 +00:00
Make tslint happy
This commit is contained in:
parent
0abc937fd2
commit
91f6bfa7f9
@ -16,10 +16,7 @@
|
||||
"spaces"
|
||||
],
|
||||
"label-position": true,
|
||||
"max-line-length": [
|
||||
true,
|
||||
140
|
||||
],
|
||||
"max-line-length": false,
|
||||
"member-access": false,
|
||||
"member-ordering": [
|
||||
true,
|
||||
|
@ -56,12 +56,12 @@ export class TravisCiConfigComponent implements ModalComponent<ConfigModalContex
|
||||
|
||||
public editTemplate(repoKey: string) {
|
||||
this.toggleTemplate(repoKey);
|
||||
var repoConfig = this.integration.repoTemplates.find(r => r.repoKey == repoKey);
|
||||
let repoConfig = this.integration.repoTemplates.find(r => r.repoKey === repoKey);
|
||||
repoConfig.newTemplate = repoConfig.template;
|
||||
}
|
||||
|
||||
public saveTemplate(repoKey: string) {
|
||||
var repoConfig = this.integration.repoTemplates.find(r => r.repoKey == repoKey);
|
||||
let repoConfig = this.integration.repoTemplates.find(r => r.repoKey === repoKey);
|
||||
repoConfig.template = repoConfig.newTemplate;
|
||||
this.updateTemplates().then(() => this.toggleTemplate(repoKey));
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user