瀏覽代碼

banner modal hotfix (#4622)

jusrhee 2 年之前
父節點
當前提交
22e84667e4
共有 1 個文件被更改,包括 11 次插入0 次删除
  1. 11 0
      dashboard/src/main/home/Home.tsx

+ 11 - 0
dashboard/src/main/home/Home.tsx

@@ -431,6 +431,17 @@ const Home: React.FC<Props> = (props) => {
                 )}
               </>
             )}
+          {showBillingModal && (
+            <BillingModal
+              back={() => {
+                setShowBillingModal(false);
+              }}
+              onCreate={async () => {
+                setShowBillingModal(false);
+                window.location.reload();
+              }}
+            />
+          )}
           <ModalHandler setRefreshClusters={setForceRefreshClusters} />
           {currentOverlay &&
             createPortal(