Skip to content

Instantly share code, notes, and snippets.

View joshuaogle's full-sized avatar
👨‍🎨
Making the cloud a better place to live

Joshua Ogle joshuaogle

👨‍🎨
Making the cloud a better place to live
View GitHub Profile
@joshuaogle
joshuaogle / components.mount-icon.js
Last active October 24, 2019 18:03
Structure Tree View
import Ember from 'ember';
import EmberObject, { computed } from '@ember/object';
export default Ember.Component.extend({
isAWS: computed("icon", function() {
return this.get("icon") == "aws";
}),
isGCP: computed("icon", function() {
return this.get("icon") == "gcp";
})