mirror of
https://github.com/discourse/discourse.git
synced 2025-02-21 03:11:56 +08:00
FIX: showing icons on future-date-input options (#16527)
This commit is contained in:
parent
e5fb884695
commit
e8f8a7fc91
app/assets/javascripts/select-kit/addon
components
templates/components/future-date-input-selector
@ -42,6 +42,7 @@ export default ComboBoxComponent.extend({
|
|||||||
name: I18n.t(tf.label),
|
name: I18n.t(tf.label),
|
||||||
time: tf.time,
|
time: tf.time,
|
||||||
timeFormatted: tf.timeFormatted,
|
timeFormatted: tf.timeFormatted,
|
||||||
|
icon: tf.icon,
|
||||||
};
|
};
|
||||||
});
|
});
|
||||||
}),
|
}),
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
{{#if item.icons}}
|
{{#if item.icon}}
|
||||||
<div class="future-date-input-selector-icons">
|
<div class="future-date-input-selector-icons">
|
||||||
{{d-icon item.icon}}
|
{{d-icon item.icon}}
|
||||||
</div>
|
</div>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user