Skip to content

Commit

Permalink
Merge pull request #48 from leonhartX/fix-bind-pattern
Browse files Browse the repository at this point in the history
fix pattern is null
  • Loading branch information
leonhartX authored Nov 19, 2017
2 parents 6352075 + 72141f2 commit 28d524e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion manifest.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"version": "3.2.0",
"version": "3.2.1",
"manifest_version": 2,
"default_locale": "en",
"name": "__MSG_appName__",
Expand Down
3 changes: 2 additions & 1 deletion src/gas-hub.js
Original file line number Diff line number Diff line change
Expand Up @@ -205,7 +205,8 @@ function initPageEvent() {

$(document).on('click', '#config-button', () => {
$('#filetype').val(context.filetype);
$('#ignore-pattern').val(context.bindPattern[context.id].join(';'));
const pattern = context.bindPattern[context.id] || [];
$('#ignore-pattern').val(pattern.join(';'));
changeModalState('config', true);
});

Expand Down

0 comments on commit 28d524e

Please sign in to comment.