Skip to content

Commit

Permalink
bugfix #31 extension doesnt work if url to json in options is uniniti…
Browse files Browse the repository at this point in the history
…alized
  • Loading branch information
David LAURENT committed Nov 24, 2016
1 parent 96b0db1 commit fa645c1
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 4 deletions.
4 changes: 2 additions & 2 deletions extension/chrome/src/js/storage.js
Original file line number Diff line number Diff line change
Expand Up @@ -71,11 +71,11 @@ var extensionStorage = (function() {
function loadGroupsArray(callback) {
cloudStorage.get(null, function(items) {
if (callback) {
const groups = JSON.parse(items[REVIEWERS_ARRAY_KEY]);
const groups = items[REVIEWERS_ARRAY_KEY];
if (!groups) {
return callback([]);
}
callback(groups);
callback(JSON.parse(groups));
}
});
}
Expand Down
2 changes: 1 addition & 1 deletion extension/chrome/src/manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"manifest_version": 2,
"name": "Bitbucket Server Extension",
"description": "Allow to add group of reviewers for pull request in bitbucket server + other features",
"version": "2.2.9",
"version": "2.2.11",
"permissions": [
"storage",
"alarms",
Expand Down
4 changes: 4 additions & 0 deletions history
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
2.2.11
===================
- bugfix #31: extension doesnt work with uninitialized 'url to json' in options panel

2.2.10
===================
- feature: add support for centralized reviewers lists
Expand Down
2 changes: 1 addition & 1 deletion version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
2.2.10
2.2.11

0 comments on commit fa645c1

Please sign in to comment.