|
1 | 1 | <template> |
2 | | - <div class="dropdown ms-auto"> |
3 | | - <button |
4 | | - id="reviewSettingsBtn" |
5 | | - type="button" |
6 | | - class="btn btn-light btn-sm border" |
7 | | - data-bs-toggle="dropdown" |
8 | | - aria-haspopup="true" |
9 | | - aria-expanded="false" |
10 | | - > |
| 2 | + <b-dropdown |
| 3 | + class="ms-auto" |
| 4 | + toggle-class="border" |
| 5 | + variant="light" |
| 6 | + size="sm" |
| 7 | + placement="bottom-end" |
| 8 | + auto-close="outside" |
| 9 | + no-caret |
| 10 | + > |
| 11 | + <template #button-content> |
11 | 12 | <app-icon variant="settings" no-margin /> |
12 | 13 | <span class="visually-hidden">Settings</span> |
13 | | - </button> |
| 14 | + </template> |
14 | 15 |
|
15 | | - <div class="dropdown-menu dropdown-menu-end" aria-labelledby="reviewSettingsBtn"> |
16 | | - <div class="px-3 py-2"> |
17 | | - <div class="form-check form-switch"> |
18 | | - <label class="form-check-label"> |
19 | | - <input |
20 | | - v-model="filter.includeChangesets" |
21 | | - type="checkbox" |
22 | | - class="form-check-input" |
23 | | - /> |
24 | | - Changesets |
25 | | - </label> |
26 | | - </div> |
27 | | - <div class="form-check form-switch"> |
28 | | - <label class="form-check-label"> |
29 | | - <input |
30 | | - v-model="filter.includeFeedback" |
31 | | - type="checkbox" |
32 | | - class="form-check-input" |
33 | | - /> |
34 | | - Feedback |
35 | | - </label> |
36 | | - </div> |
37 | | - <div class="form-check form-switch"> |
38 | | - <label class="form-check-label"> |
39 | | - <input |
40 | | - v-model="filter.includeNotes" |
41 | | - type="checkbox" |
42 | | - class="form-check-input" |
43 | | - /> |
44 | | - Notes |
45 | | - </label> |
46 | | - </div> |
| 16 | + <div class="px-3 py-2"> |
| 17 | + <div class="form-check form-switch"> |
| 18 | + <label class="form-check-label"> |
| 19 | + <input |
| 20 | + v-model="filter.includeChangesets" |
| 21 | + type="checkbox" |
| 22 | + class="form-check-input" |
| 23 | + /> |
| 24 | + Changesets |
| 25 | + </label> |
47 | 26 | </div> |
| 27 | + <div class="form-check form-switch"> |
| 28 | + <label class="form-check-label"> |
| 29 | + <input |
| 30 | + v-model="filter.includeFeedback" |
| 31 | + type="checkbox" |
| 32 | + class="form-check-input" |
| 33 | + /> |
| 34 | + Feedback |
| 35 | + </label> |
| 36 | + </div> |
| 37 | + <div class="form-check form-switch"> |
| 38 | + <label class="form-check-label"> |
| 39 | + <input |
| 40 | + v-model="filter.includeNotes" |
| 41 | + type="checkbox" |
| 42 | + class="form-check-input" |
| 43 | + /> |
| 44 | + Notes |
| 45 | + </label> |
| 46 | + </div> |
| 47 | + </div> |
48 | 48 |
|
49 | | - <div class="dropdown-divider" /> |
| 49 | + <b-dropdown-divider /> |
50 | 50 |
|
51 | | - <div class="px-3 py-2"> |
52 | | - <div class="form-check form-switch"> |
53 | | - <label class="form-check-label"> |
54 | | - <input |
55 | | - v-model="filter.includeResolved" |
56 | | - type="checkbox" |
57 | | - class="form-check-input" |
58 | | - /> |
59 | | - Show Resolved |
60 | | - </label> |
61 | | - </div> |
| 51 | + <div class="px-3 py-2"> |
| 52 | + <div class="form-check form-switch"> |
| 53 | + <label class="form-check-label"> |
| 54 | + <input |
| 55 | + v-model="filter.includeResolved" |
| 56 | + type="checkbox" |
| 57 | + class="form-check-input" |
| 58 | + /> |
| 59 | + Show Resolved |
| 60 | + </label> |
62 | 61 | </div> |
| 62 | + </div> |
63 | 63 |
|
64 | | - <div class="dropdown-divider" /> |
| 64 | + <div class="dropdown-divider" /> |
65 | 65 |
|
66 | | - <div class="px-3 py-2"> |
67 | | - <button class="d-block btn btn-primary btn-sm" @click="apply">Apply</button> |
68 | | - </div> |
69 | | - </div><!-- .dropdown-menu --> |
70 | | - </div><!-- .dropdown --> |
| 66 | + <div class="px-3 py-2"> |
| 67 | + <button class="d-block btn btn-primary btn-sm" @click="apply">Apply</button> |
| 68 | + </div> |
| 69 | + </b-dropdown> |
71 | 70 | </template> |
72 | 71 |
|
73 | 72 | <script setup lang="ts"> |
|
0 commit comments