mirror of
https://github.com/discourse/discourse.git
synced 2025-03-09 14:34:35 +00:00
FIX: list site settings with no choices will not show the 'No results found' dropdown
This commit is contained in:
parent
c2efa0b3c3
commit
3fb74fd880
@ -19,7 +19,8 @@ Discourse.ListSettingComponent = Ember.Component.extend({
|
||||
separator: "|",
|
||||
tokenSeparators: ["|"],
|
||||
tags : this.get("choices") || [],
|
||||
width: 'off'
|
||||
width: 'off',
|
||||
dropdownCss: this.get("choices") ? {} : {display: 'none'}
|
||||
}).on("change", function(obj) {
|
||||
this.set("settingValue", obj.val.join("|"));
|
||||
this.refreshSortables();
|
||||
|
Loading…
x
Reference in New Issue
Block a user