Preview the favicon in the wizard

This commit is contained in:
Robin Ward
2016-09-16 17:02:45 -04:00
parent 0a41217604
commit e7c1962aa0
3 changed files with 51 additions and 0 deletions

View File

@@ -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');