Skip to content

Commit

Permalink
fix: added (commented out) sunburst_clock to SelectableVisualization.vue
Browse files Browse the repository at this point in the history
  • Loading branch information
ErikBjare committed Nov 2, 2020
1 parent 94f0959 commit d4f2b3c
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions src/components/SelectableVisualization.vue
Expand Up @@ -64,7 +64,9 @@ div
aw-sunburst-categories(:data="top_categories_hierarchy", style="height: 20em")
div(v-if="type == 'timeline_barchart'")
aw-timeline-barchart(:datasets="datasets", style="height: 100")

// TODO: Broke when we switched to customizable views (since it doesn't use vuex to request data)
//div(v-if="type == 'sunburst_clock'")
aw-sunburst-clock(:date="date", :afkBucketId="bucket_id_afk", :windowBucketId="bucket_id_window")
</template>

<style lang="scss">
Expand Down Expand Up @@ -185,8 +187,14 @@ export default {
title: 'Timeline (barchart)',
// TODO
available: true,
//available: this.$store.state.activity.category.available,
},
/*
sunburst_clock: {
title: 'Sunburst clock',
// TODO
available: true,
},
*/
};
},
has_prerequisites() {
Expand Down

0 comments on commit d4f2b3c

Please sign in to comment.