From 49d0886f6855f1fb1c628b8205a8ae299aa3db09 Mon Sep 17 00:00:00 2001
From: king <18310653075@163.com>
Date: 星期四, 14 七月 2022 18:05:28 +0800
Subject: [PATCH] 2022-07-14

---
 src/tabviews/zshare/cardcomponent/index.jsx |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/tabviews/zshare/cardcomponent/index.jsx b/src/tabviews/zshare/cardcomponent/index.jsx
index 2c55409..f9eac6c 100644
--- a/src/tabviews/zshare/cardcomponent/index.jsx
+++ b/src/tabviews/zshare/cardcomponent/index.jsx
@@ -694,7 +694,7 @@
 
     card.switch = plot.switch !== 'false'
 
-    if (!insertAction.icon) {
+    if (insertAction && !insertAction.icon) {
       insertAction.icon = 'plus'
     }
 

--
Gitblit v1.8.0