diff options
author | Florian Dold <florian.dold@gmail.com> | 2016-11-14 00:33:15 +0100 |
---|---|---|
committer | Florian Dold <florian.dold@gmail.com> | 2016-11-14 00:33:15 +0100 |
commit | 48bac7d4a9d2846b0309dab0fb92e1c36f854a92 (patch) | |
tree | 419fc7f339179ee2eb922105ccfa12fdfe1b9719 /src | |
parent | 8b855c969d3db4a2e7ba0c13b45f892a3e508317 (diff) |
link to advanced tree view
Diffstat (limited to 'src')
-rw-r--r-- | src/popup/popup.tsx | 15 |
1 files changed, 11 insertions, 4 deletions
diff --git a/src/popup/popup.tsx b/src/popup/popup.tsx index c59ee3ea8..697162cab 100644 --- a/src/popup/popup.tsx +++ b/src/popup/popup.tsx @@ -306,7 +306,14 @@ class WalletBalanceView extends React.Component<any, any> { ); }); if (listing.length > 0) { - return <div>{listing}</div>; + let link = chrome.extension.getURL("/src/pages/tree.html"); + let linkElem = <a href={link} target="_blank">advanced view</a>; + return ( + <div> + {listing} + {linkElem} + </div> + ); } return this.renderEmpty(); @@ -470,13 +477,13 @@ function confirmReset() { function WalletDebug(props: any) { return (<div> <p>Debug tools:</p> - <button onClick={openExtensionPage("popup/popup.html")}> + <button onClick={openExtensionPage("/src/popup/popup.html")}> wallet tab </button> - <button onClick={openExtensionPage("pages/show-db.html")}> + <button onClick={openExtensionPage("/src/pages/show-db.html")}> show db </button> - <button onClick={openExtensionPage("pages/tree.html")}> + <button onClick={openExtensionPage("/src/pages/tree.html")}> show tree </button> <br /> |