فهرست منبع

:fire: fork button

visuddhinanda 2 سال پیش
والد
کامیت
a5c4e54cd9
1فایلهای تغییر یافته به همراه0 افزوده شده و 14 حذف شده
  1. 0 14
      dashboard/src/pages/library/article/show.tsx

+ 0 - 14
dashboard/src/pages/library/article/show.tsx

@@ -172,20 +172,6 @@ const Widget = () => {
                 >
                   Edit
                 </Button>
-                <Button
-                  disabled={user ? false : true}
-                  ghost
-                  onClick={(event) => {
-                    const url = `/studio/${user?.nickName}/article/create?parent=${loadedArticleData.uid}`;
-                    if (event.ctrlKey || event.metaKey) {
-                      window.open(fullUrl(url), "_blank");
-                    } else {
-                      navigate(url);
-                    }
-                  }}
-                >
-                  Fork
-                </Button>
               </>
             ) : undefined}
             <ShareButton