Skip to content
Snippets Groups Projects

Move OnCall Schedules timezone to the shared Timezone Dropdown

All threads resolved!
6 files
+ 48
106
Compare changes
  • Side-by-side
  • Inline
Files
6
@@ -30,6 +30,11 @@ export default {
required: true,
default: () => [],
},
dropdownClass: {
type: String,
required: false,
default: '',
},
},
data() {
return {
@@ -96,7 +101,14 @@ export default {
:value="timezoneIdentifier || value"
type="hidden"
/>
<gl-dropdown :text="selectedTimezoneLabel" block lazy menu-class="gl-w-full!" v-bind="$attrs">
<gl-dropdown
:text="selectedTimezoneLabel"
:class="dropdownClass"
block
lazy
menu-class="gl-w-full!"
v-bind="$attrs"
>
<gl-search-box-by-type v-model.trim="searchTerm" v-autofocusonshow autofocus />
<gl-dropdown-item
v-for="timezone in filteredResults"
Loading