From e904586863619a5454815a58e68130d3c24a0ecf Mon Sep 17 00:00:00 2001 From: autosubmit Date: Wed, 27 Sep 2023 18:47:12 +0800 Subject: [PATCH] Auto Submit --- p__Shixuns__Detail__Challenges__index.async.js | 18 ++++++++---------- 1 file changed, 8 insertions(+), 10 deletions(-) diff --git a/p__Shixuns__Detail__Challenges__index.async.js b/p__Shixuns__Detail__Challenges__index.async.js index 3fef76c70c..3b8fde1a45 100644 --- a/p__Shixuns__Detail__Challenges__index.async.js +++ b/p__Shixuns__Detail__Challenges__index.async.js @@ -241,7 +241,7 @@ var Status = /*#__PURE__*/function (Status) { return Status; }(Status || {}); var Jupyter = function Jupyter(_ref) { - var _user$userInfo, _user$userInfo2, _shixunsDetail$detail, _shixunsDetail$challe, _shixunsDetail$challe2; + var _user$userInfo, _user$userInfo2, _shixunsDetail$detail, _shixunsDetail$challe; var shixunsDetail = _ref.shixunsDetail, user = _ref.user, dispatch = _ref.dispatch; @@ -728,15 +728,13 @@ var Jupyter = function Jupyter(_ref) { }) })), show: true - }, { - key: '4', - label: /*#__PURE__*/(0,jsx_runtime.jsx)("a", { - target: "_blank", - href: "https://".concat(port.current).concat(env/* default.TERMINAL_URL */.Z.TERMINAL_URL, "/terminals/1"), - children: "\u547D\u4EE4\u884C\u7EC8\u7AEF" - }), - show: (_shixunsDetail$challe2 = shixunsDetail.challenges) === null || _shixunsDetail$challe2 === void 0 ? void 0 : _shixunsDetail$challe2.is_jupyter - }].filter(function (item) { + } + // { + // key: '4', + // label: 命令行终端, + // show: shixunsDetail.challenges?.is_jupyter + // } + ].filter(function (item) { return item.show; }) },