Skip to content

Commit

Permalink
Merge pull request #278 from crossroads/master
Browse files Browse the repository at this point in the history
#Feb2019Release1
  • Loading branch information
namrataukirde authored Mar 6, 2019
2 parents 066ee3e + 84836d5 commit 562629c
Show file tree
Hide file tree
Showing 7 changed files with 989 additions and 974 deletions.
6 changes: 3 additions & 3 deletions app/controllers/receive_package.js
Original file line number Diff line number Diff line change
Expand Up @@ -141,9 +141,9 @@ export default Ember.Controller.extend({
pkg.set('inventoryNumber', null);
pkg.save()
.then(() => {
new AjaxPromise("/inventory_numbers/remove_number", "PUT", _this.get('session.authToken'), { code: inventoryNumber }).then(() => {
_this.transitionToRoute("review_offer.receive");
});
new AjaxPromise("/inventory_numbers/remove_number", "PUT", _this.get('session.authToken'), { code: inventoryNumber }).then(() => {})
.catch(() => {})
.finally(() => _this.transitionToRoute("review_offer.receive"));
})
.catch(() => {
_this.send('pkgUpdateError', pkg);
Expand Down
4 changes: 4 additions & 0 deletions config/environment.js
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,10 @@ module.exports = function(environment) {
// Here you can pass flags/options to your application instance
// when it is created
NAME: 'admin.goodcity',
TITLE: 'Admin',
IOS_APP_ID: '1013288708',
ANDROID_APP_ID: "hk.goodcity.admin",
BANNER_IMAGE: 'assets/images/admin.png',
CLOUD_NAME: 'ddoadcjjl',
CLOUD_API_KEY: 926849638736153,
CLOUD_URL: 'https://api.cloudinary.com/v1_1/ddoadcjjl/auto/upload',
Expand Down
1 change: 1 addition & 0 deletions ember-cli-build.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ module.exports = function(defaults) {
},
fingerprint: {
extensions: ['js', 'css', 'png', 'jpg', 'gif', 'map'],
exclude: ['images/admin.png'],
enabled: webRelease
},
gzip: {
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "goodcity",
"version": "0.15.4",
"version": "0.15.5",
"description": "The GoodCity Admin app enables administrators to process donated goods.",
"private": true,
"directories": {
Expand Down
Binary file added public/assets/images/admin.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion tests/helpers/custom-helpers.js
Original file line number Diff line number Diff line change
Expand Up @@ -38,4 +38,4 @@ export default function() {
Ember.run.scheduleOnce('afterRender', this, callback);
});

}()
}() // jshint ignore:line
Loading

0 comments on commit 562629c

Please sign in to comment.