From d6d05cf10cd2e5fdab8a2c0459633bb20061ca97 Mon Sep 17 00:00:00 2001 From: yann300 Date: Thu, 27 Jan 2022 09:50:30 +0100 Subject: [PATCH] add restore backup --- libs/remix-ui/home-tab/src/lib/remix-ui-home-tab.tsx | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/libs/remix-ui/home-tab/src/lib/remix-ui-home-tab.tsx b/libs/remix-ui/home-tab/src/lib/remix-ui-home-tab.tsx index ace8ad155e..faece43136 100644 --- a/libs/remix-ui/home-tab/src/lib/remix-ui-home-tab.tsx +++ b/libs/remix-ui/home-tab/src/lib/remix-ui-home-tab.tsx @@ -214,6 +214,12 @@ export const RemixUiHomeTab = (props: RemixUiHomeTabProps) => { } } + const restoreBackupZip = async () => { + await plugin.appManager.activatePlugin(['restorebackupzip']) + plugin.verticalIcons.select('restorebackupzip') + _paq.push(['trackEvent', 'pluginManager', 'userActivate', 'restorebackupzip']) + } + const showFullMessage = (title: string, loadItem: string, examples: Array) => { setState(prevState => { return { ...prevState, showModalDialog: true, modalInfo: { title: title, loadItem: loadItem, examples: examples } } @@ -330,6 +336,10 @@ export const RemixUiHomeTab = (props: RemixUiHomeTabProps) => {

+

+ + +