Skip to content

Commit 562240f

Browse files
committed
Make changes to satisfy prettier
1 parent 065751e commit 562240f

2 files changed

Lines changed: 9 additions & 11 deletions

File tree

client/src/components/Sunburst.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@ export default {
124124
}
125125
stack = stack.slice(1);
126126
127-
return stack.map(d => d.data.name).join(' > ');
127+
return stack.map(d => d.data.name).join(" > ");
128128
})
129129
.tooltipContent(d => (d.value !== undefined ? `value: ${d.value}` : ""))
130130
.color(d => this.cmap(d.name))

client/src/views/Home.vue

Lines changed: 8 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -103,15 +103,9 @@ export default {
103103
},
104104
created() {
105105
this.load();
106-
this.cmap('1');
107-
this.cmap('2');
108-
this.cmap('3');
109-
this.cmap('4');
110-
this.cmap('5');
111-
this.cmap('6');
112-
this.cmap('7');
113-
this.cmap('8');
114-
this.cmap('9');
106+
for (let i = 1; i <= 9; i++) {
107+
this.cmap(String(i));
108+
}
115109
},
116110
methods: {
117111
...mapActions(["load"])
@@ -225,7 +219,11 @@ export default {
225219
<h4>Sunburst</h4>
226220
</v-card-title>
227221
<v-card-text class="white-card-text">
228-
<Sunburst v-if="selectedSamples.length" :filteredTables="filteredTables" :cmap="cmap" />
222+
<Sunburst
223+
v-if="selectedSamples.length"
224+
:filteredTables="filteredTables"
225+
:cmap="cmap"
226+
/>
229227
</v-card-text>
230228
</v-card>
231229
</v-flex>

0 commit comments

Comments
 (0)