Skip to content

Commit

Permalink
Add tooltip
Browse files Browse the repository at this point in the history
  • Loading branch information
AaronPlave committed Jan 6, 2025
1 parent 5eb918e commit b7fbd44
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -138,6 +138,10 @@
on:click|stopPropagation={toggleFilterMenu}
class="st-button icon w-100"
style:position="relative"
use:tooltip={{
content: `Filter Activities${filterCount > 0 ? ` (${filterCount} applied)` : ''}`,
placement: 'top',
}}
>
<div class="activity-layer-name st-select">
<div class="activity-layer-name-text">
Expand Down
1 change: 0 additions & 1 deletion src/utilities/timeline.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1578,7 +1578,6 @@ export function directiveOrSpanMatchesDynamicFilters(
}
matches = matchesDynamicFilter(argument, curr.operator, curr.value);
} else if (curr.field === 'SchedulingGoalId') {
// TODO need to test this once model is working
const goalId = (directiveOrSpan as ActivityDirective).source_scheduling_goal_id;
if (typeof goalId === 'number') {
matches = matchesDynamicFilter(goalId, curr.operator, curr.value);
Expand Down

0 comments on commit b7fbd44

Please sign in to comment.