Skip to content

Commit 543393b

Browse files
committed
fix: missing bucket ID when editing events
1 parent 1860f15 commit 543393b

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/visualizations/VisTimeline.vue

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -165,8 +165,7 @@ export default {
165165
return;
166166
} else if (properties.items.length == 1) {
167167
const event = this.chartData[properties.items[0]][6];
168-
const groupId = this.items[properties.items[0]].group;
169-
const bucketId = _.find(this.groups, g => g.id == groupId).content;
168+
const bucketId = this.items[properties.items[0]].group;
170169
171170
// We retrieve the full event to ensure if's not cut-off by the query range
172171
// See: https://github.com/ActivityWatch/aw-webui/pull/320#issuecomment-1056921587

0 commit comments

Comments
 (0)