Skip to content

Commit

Permalink
use correct directives to display in table when snapshot is selected
Browse files Browse the repository at this point in the history
  • Loading branch information
duranb committed Nov 27, 2023
1 parent a428ea0 commit 1597c97
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/routes/plans/[id]/+page.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -240,9 +240,7 @@
$: {
$activityDirectivesMap =
$planSnapshotId !== null && planSnapshotActivityDirectives.length > 0
? keyBy(planSnapshotActivityDirectives, 'id')
: keyBy($activityDirectives, 'id');
$planSnapshotId !== null ? keyBy(planSnapshotActivityDirectives, 'id') : keyBy($activityDirectives, 'id');
}
$: if ($plan && $planLocked) {
Expand Down

0 comments on commit 1597c97

Please sign in to comment.