Skip to content

Commit

Permalink
Merge pull request rancher#953 from vincent99/master
Browse files Browse the repository at this point in the history
Bump lacsso
  • Loading branch information
vincent99 authored Dec 21, 2016
2 parents 22d71fc + 39d2fb3 commit e759ced
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 11 deletions.
6 changes: 0 additions & 6 deletions app/container/controller.js
Original file line number Diff line number Diff line change
@@ -1,15 +1,9 @@
import Ember from 'ember';

const {computed, get} = Ember;

export default Ember.Controller.extend({
actions: {
changeContainer(container) {
this.transitionToRoute('container', container.get('id'));
}
},

stackName: computed('model.labels', function() {
return get(this, 'model.labels')['io.rancher.stack.name'];
}),
});
2 changes: 1 addition & 1 deletion app/container/template.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
{{#if model.primaryService}}
<label class="block">{{t 'containersPage.containerPage.infoMultiStats.stack'}}</label>

<div>{{#link-to "stack" model.primaryService.stackId}}{{stackName}}{{/link-to}}/{{#link-to "service" model.primaryService.stackId model.primaryService.id}}{{model.primaryService.displayName}}{{/link-to}}</div>
<div>{{#link-to "stack" model.primaryService.stackId}}{{model.primaryService.stack.displayName}}{{/link-to}}/{{#link-to "service" model.primaryService.stackId model.primaryService.id}}{{model.primaryService.displayName}}{{/link-to}}</div>
<hr>
{{/if}}

Expand Down
2 changes: 1 addition & 1 deletion app/services/prefs.js
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ export default Ember.Service.extend({
}

let neu = JSON.stringify(value);
if ( obj.get('value') !== neu ) {
if ( !obj.get('id') || obj.get('value') !== neu ) {
obj.set('value', neu);
obj.save().then(() => {
Ember.run(() => {
Expand Down
6 changes: 4 additions & 2 deletions ember-cli-build.js
Original file line number Diff line number Diff line change
Expand Up @@ -54,8 +54,10 @@ module.exports = function(defaults) {

// These get version added to the query string so JS doesn't have to know the fingerprint
'assets/intl',
'ui-light.css', 'ui-dark.css', 'ui-light.rtl.css', 'ui-dark.rtl.css', 'ui.css',
'vendor.css','vendor.rtl.css',
'ui-light.css', 'ui-light.rtl.css',
'ui-dark.css', 'ui-dark.rtl.css',
'ui.css', 'ui.rtl.css',
'vendor.css', 'vendor.rtl.css',
],
extensions: (appConfig.fingerprint === 'no' ? [] : ['js', 'css', 'png', 'jpg', 'gif', 'svg', 'map', 'woff', 'woff2', 'ttf']),
},
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@
"forever-agent": "^0.6.1",
"glob": "^5.0.3",
"http-proxy": "^1.11.1",
"lacsso": "0.0.36",
"lacsso": "0.0.37",
"liquid-fire": "0.26.4",
"loader.js": "^4.0.10",
"shell-quote": "^1.4.3",
Expand Down

0 comments on commit e759ced

Please sign in to comment.