- Notifications
You must be signed in to change notification settings - Fork1k
Commitb1ff65b
committed
fix(site): show Tasks link when no templates have an AI task
Fixes#19059We now remove the call to `HasTemplateVersionsWithAITask`, and set`tasks-tab-visible` to the opposite of `HideAITasks`. As this was theonly usage of `HasTemplateVersionsWithAITask`, the query has beenremoved. If required, it can always be added back in the future.1 parent760dc8b commitb1ff65b
File tree
9 files changed
+7
-65
lines changed- coderd/database
- dbauthz
- dbmetrics
- dbmock
- queries
- site
- src/pages/TasksPage
9 files changed
+7
-65
lines changedOriginal file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
3617 | 3617 |
| |
3618 | 3618 |
| |
3619 | 3619 |
| |
3620 |
| - | |
3621 |
| - | |
3622 |
| - | |
3623 |
| - | |
3624 |
| - | |
3625 | 3620 |
| |
3626 | 3621 |
| |
3627 | 3622 |
| |
|
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
4826 | 4826 |
| |
4827 | 4827 |
| |
4828 | 4828 |
| |
4829 |
| - | |
4830 |
| - | |
4831 |
| - | |
4832 | 4829 |
| |
4833 | 4830 |
| |
4834 | 4831 |
| |
|
Some generated files are not rendered by default. Learn more aboutcustomizing how changed files appear on GitHub.
Some generated files are not rendered by default. Learn more aboutcustomizing how changed files appear on GitHub.
Some generated files are not rendered by default. Learn more aboutcustomizing how changed files appear on GitHub.
Some generated files are not rendered by default. Learn more aboutcustomizing how changed files appear on GitHub.
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
234 | 234 |
| |
235 | 235 |
| |
236 | 236 |
| |
237 |
| - | |
238 |
| - | |
239 |
| - | |
240 |
| - |
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
448 | 448 |
| |
449 | 449 |
| |
450 | 450 |
| |
451 |
| - | |
452 | 451 |
| |
453 | 452 |
| |
454 | 453 |
| |
| |||
484 | 483 |
| |
485 | 484 |
| |
486 | 485 |
| |
487 |
| - | |
488 |
| - | |
489 |
| - | |
490 |
| - | |
491 |
| - | |
492 |
| - | |
493 |
| - | |
494 |
| - | |
495 |
| - | |
496 |
| - | |
497 |
| - | |
498 |
| - | |
499 |
| - | |
500 |
| - | |
501 | 486 |
| |
502 | 487 |
| |
503 | 488 |
| |
| |||
571 | 556 |
| |
572 | 557 |
| |
573 | 558 |
| |
574 |
| - | |
| 559 | + | |
575 | 560 |
| |
576 | 561 |
| |
577 | 562 |
| |
|
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
13 | 13 |
| |
14 | 14 |
| |
15 | 15 |
| |
| 16 | + | |
16 | 17 |
| |
17 | 18 |
| |
18 | 19 |
| |
| |||
62 | 63 |
| |
63 | 64 |
| |
64 | 65 |
| |
| 66 | + | |
65 | 67 |
| |
66 | 68 |
| |
67 | 69 |
| |
| |||
139 | 141 |
| |
140 | 142 |
| |
141 | 143 |
| |
142 |
| - | |
| 144 | + | |
| 145 | + | |
| 146 | + | |
| 147 | + | |
143 | 148 |
| |
144 | 149 |
| |
145 | 150 |
| |
|
0 commit comments
Comments
(0)