Fix new icon designations for new semantic style
This commit is contained in:
@@ -8,8 +8,8 @@ export default Ember.Component.extend
|
|||||||
typeClass: Ember.computed 'type', -> @get('type') || 'no-typ'
|
typeClass: Ember.computed 'type', -> @get('type') || 'no-typ'
|
||||||
iconClass: Ember.computed 'type', ->
|
iconClass: Ember.computed 'type', ->
|
||||||
switch @get('type')
|
switch @get('type')
|
||||||
when 'boolean' then 'checkmark box'
|
when 'boolean' then 'check square outline'
|
||||||
when 'date' then 'calendar'
|
when 'date' then 'calendar alternate outline'
|
||||||
when 'select' then 'list'
|
when 'select' then 'list'
|
||||||
when 'string' then 'terminal'
|
when 'string' then 'terminal'
|
||||||
when 'text' then 'sticky note outline'
|
when 'text' then 'sticky note outline'
|
||||||
|
|||||||
@@ -12,9 +12,9 @@ export default Ember.Component.extend({
|
|||||||
iconClass: Ember.computed('type', function() {
|
iconClass: Ember.computed('type', function() {
|
||||||
switch (this.get('type')) {
|
switch (this.get('type')) {
|
||||||
case 'boolean':
|
case 'boolean':
|
||||||
return 'checkmark box';
|
return 'check square outline';
|
||||||
case 'date':
|
case 'date':
|
||||||
return 'calendar';
|
return 'calendar alternate outline';
|
||||||
case 'select':
|
case 'select':
|
||||||
return 'list';
|
return 'list';
|
||||||
case 'string':
|
case 'string':
|
||||||
|
|||||||
Reference in New Issue
Block a user