mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
Preview the favicon in the wizard
This commit is contained in:
@@ -7,6 +7,12 @@ const Wizard = Ember.Object.extend({
|
||||
@computed('steps.length')
|
||||
totalSteps: length => length,
|
||||
|
||||
getTitle() {
|
||||
const titleStep = this.get('steps').findProperty('id', 'forum-title');
|
||||
if (!titleStep) { return; }
|
||||
return titleStep.get('fieldsById.title.value');
|
||||
},
|
||||
|
||||
// A bit clunky, but get the current colors from the appropriate step
|
||||
getCurrentColors() {
|
||||
const colorStep = this.get('steps').findProperty('id', 'colors');
|
||||
|
||||
Reference in New Issue
Block a user