Visual Console Refactor: removed unused code

Former-commit-id: a1c38a8b8b3f55b2959f94aa5c1404a63c5fff67
This commit is contained in:
Alejandro Gallardo Escobar 2019-04-04 18:48:55 +02:00
parent d94ed7e4f3
commit 6e15117e11
1 changed files with 0 additions and 10 deletions

View File

@ -103,16 +103,6 @@ export default class Percentile extends Item<PercentileProps> {
public createDomElement(): HTMLElement {
// Progress.
const progress = this.getProgress();
// Display value.
let displayValue: string;
if (this.props.valueType === "value") {
displayValue = this.props.unit
? `${this.props.value} ${this.props.unit}`
: `${this.props.value}`;
} else {
displayValue = `${progress}%`;
}
// Main element.
const element = document.createElement("div");