diff --git a/jira-plugin/manifest.json b/jira-plugin/manifest.json index a75b380..fcf290d 100644 --- a/jira-plugin/manifest.json +++ b/jira-plugin/manifest.json @@ -1,7 +1,7 @@ { "name": "Jira HotLinker", "description": "Jira HotLinker, quick access to Jira metadata when hovering over ticket numbers!", - "version": "1.5.0", + "version": "1.5.1", "manifest_version": 2, "icons": { "128": "resources/jiralink128.png" diff --git a/jira-plugin/options/config.js b/jira-plugin/options/config.js index 6fb6465..4f17dd6 100644 --- a/jira-plugin/options/config.js +++ b/jira-plugin/options/config.js @@ -2,6 +2,7 @@ export default { domains: [ '*://github.com/*' ], - instanceUrl: '' + instanceUrl: '', + v15upgrade: false }; diff --git a/jira-plugin/options/options.jsx b/jira-plugin/options/options.jsx index 1db1d13..24833a6 100644 --- a/jira-plugin/options/options.jsx +++ b/jira-plugin/options/options.jsx @@ -47,7 +47,7 @@ async function saveOptions() { } if (granted) { - await storageSet({instanceUrl, domains}); + await storageSet({instanceUrl, domains, v15upgrade:true}); resetDeclarativeMapping(); status.innerHTML = '
Options saved.'; setTimeout(function () { @@ -67,6 +67,12 @@ async function main() { function ConfigPage(props) { return (
+ {(() => { + if (!props.v15upgrade) { + return (); + } + })()}