mirror of
https://github.com/discourse/discourse.git
synced 2024-12-15 21:33:49 +08:00
7a3c541077
It was a dropdown to provide choices of color schemes, and only one scheme could be shown. With this commit, multiple color scheme previews can be displayed on one page at the same time, making admins choose color schemes more easily. Theme preview windows are shrinked. Imported default color schemes. Co-Authored-By: Misaka 0x4e21 <misaka4e21@gmail.com>
8 lines
126 B
JavaScript
8 lines
126 B
JavaScript
export default Ember.Component.extend({
|
|
actions: {
|
|
changed(value) {
|
|
this.set("field.value", value);
|
|
}
|
|
}
|
|
});
|