Fix linting, update codestyle file
parent
216c19dccd
commit
2cd7541ca6
|
@ -1,6 +1,7 @@
|
||||||
<code_scheme name="OPT-CC" version="173">
|
<code_scheme name="OPT-CC" version="173">
|
||||||
<option name="FORMATTER_TAGS_ENABLED" value="true" />
|
<option name="FORMATTER_TAGS_ENABLED" value="true" />
|
||||||
<JSCodeStyleSettings>
|
<JSCodeStyleSettings>
|
||||||
|
<option name="SPACES_WITHIN_OBJECT_LITERAL_BRACES" value="true" />
|
||||||
<option name="USE_CHAINED_CALLS_GROUP_INDENTS" value="true" />
|
<option name="USE_CHAINED_CALLS_GROUP_INDENTS" value="true" />
|
||||||
</JSCodeStyleSettings>
|
</JSCodeStyleSettings>
|
||||||
<TypeScriptCodeStyleSettings>
|
<TypeScriptCodeStyleSettings>
|
||||||
|
@ -10,6 +11,7 @@
|
||||||
<option name="RIGHT_MARGIN" value="120" />
|
<option name="RIGHT_MARGIN" value="120" />
|
||||||
<option name="KEEP_FIRST_COLUMN_COMMENT" value="false" />
|
<option name="KEEP_FIRST_COLUMN_COMMENT" value="false" />
|
||||||
<option name="ALIGN_MULTILINE_CHAINED_METHODS" value="true" />
|
<option name="ALIGN_MULTILINE_CHAINED_METHODS" value="true" />
|
||||||
|
<option name="SPACE_WITHIN_BRACKETS" value="true" />
|
||||||
<option name="CALL_PARAMETERS_WRAP" value="1" />
|
<option name="CALL_PARAMETERS_WRAP" value="1" />
|
||||||
<option name="METHOD_PARAMETERS_WRAP" value="1" />
|
<option name="METHOD_PARAMETERS_WRAP" value="1" />
|
||||||
<option name="EXTENDS_KEYWORD_WRAP" value="1" />
|
<option name="EXTENDS_KEYWORD_WRAP" value="1" />
|
||||||
|
|
|
@ -84,7 +84,7 @@ export class CampaignPlayerDetailComponent implements OnInit {
|
||||||
// we can not directly push to target array, since only full reference changes trigger the refresh of data
|
// we can not directly push to target array, since only full reference changes trigger the refresh of data
|
||||||
const tmpSumData = [];
|
const tmpSumData = [];
|
||||||
this.graphData.forEach(dataSet => {
|
this.graphData.forEach(dataSet => {
|
||||||
tmpSumData.push({name: dataSet.label, value: dataSet.total})
|
tmpSumData.push({ name: dataSet.label, value: dataSet.total });
|
||||||
});
|
});
|
||||||
this.sumData = tmpSumData;
|
this.sumData = tmpSumData;
|
||||||
});
|
});
|
||||||
|
@ -110,9 +110,9 @@ export class CampaignPlayerDetailComponent implements OnInit {
|
||||||
}
|
}
|
||||||
|
|
||||||
dataSet.data = [killObj];
|
dataSet.data = [killObj];
|
||||||
dataSet.refLine = [{value: total / playerLength, name: this.avgLabel}]
|
dataSet.refLine = [{ value: total / playerLength, name: this.avgLabel }];
|
||||||
dataSet.total = total;
|
dataSet.total = total;
|
||||||
})
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
navigateBack() {
|
navigateBack() {
|
||||||
|
|
Loading…
Reference in New Issue