|
|
|
|
@ -13408,7 +13408,7 @@ var PatternModal_DataSetModal = function DataSetModal(_ref) {
|
|
|
|
|
_context2.next = 3;
|
|
|
|
|
break;
|
|
|
|
|
}
|
|
|
|
|
message/* default */.ZP.info('请选择数据集');
|
|
|
|
|
message/* default */.ZP.info('请选择模型');
|
|
|
|
|
return _context2.abrupt("return");
|
|
|
|
|
case 3:
|
|
|
|
|
datasetsString = selectDataset === null || selectDataset === void 0 || (_selectDataset$map = selectDataset.map(function (item) {
|
|
|
|
|
@ -13799,7 +13799,7 @@ var MirrorModal_DataSetModal = function DataSetModal(_ref) {
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
var Entrance = function Entrance(_ref) {
|
|
|
|
|
var _CommitRecords$data9, _CommitRecords$data10, _CommitRecords$data11, _CommitRecords$data12, _competitions$competi2, _CommitRecords$data13, _CommitRecords$data14, _competitionStage$dat, _CommitRecords$data15, _CommitRecords$data16, _CommitRecords$data17;
|
|
|
|
|
var _CommitRecords$data10, _CommitRecords$data11, _CommitRecords$data12, _CommitRecords$data13, _competitions$competi2, _CommitRecords$data14, _CommitRecords$data15, _competitionStage$dat, _defaultPatten$, _CommitRecords$data16, _CommitRecords$data17, _CommitRecords$data18;
|
|
|
|
|
var dispatch = _ref.dispatch,
|
|
|
|
|
competitions = _ref.competitions,
|
|
|
|
|
loading = _ref.loading,
|
|
|
|
|
@ -13876,6 +13876,10 @@ var Entrance = function Entrance(_ref) {
|
|
|
|
|
_useState26 = slicedToArray_default()(_useState25, 2),
|
|
|
|
|
mirrorInfo = _useState26[0],
|
|
|
|
|
setMirrorInfo = _useState26[1];
|
|
|
|
|
var _useState27 = (0,_react_17_0_2_react.useState)([]),
|
|
|
|
|
_useState28 = slicedToArray_default()(_useState27, 2),
|
|
|
|
|
defaultPatten = _useState28[0],
|
|
|
|
|
setDefaultPatten = _useState28[1];
|
|
|
|
|
var Columns = [{
|
|
|
|
|
title: "提交ID",
|
|
|
|
|
dataIndex: "commit_id",
|
|
|
|
|
@ -14655,19 +14659,58 @@ var Entrance = function Entrance(_ref) {
|
|
|
|
|
return _ref9.apply(this, arguments);
|
|
|
|
|
};
|
|
|
|
|
}();
|
|
|
|
|
var handleCommit = /*#__PURE__*/function () {
|
|
|
|
|
// 获取模型数据
|
|
|
|
|
var getDefaultPatten = /*#__PURE__*/function () {
|
|
|
|
|
var _ref10 = asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee9() {
|
|
|
|
|
var _CommitRecords$data7, _CommitRecords$data8;
|
|
|
|
|
var payload, res, _res$del_filename, _res$del_filename2, s3;
|
|
|
|
|
var _CommitRecords$data7;
|
|
|
|
|
var res, _res$data3, tempData;
|
|
|
|
|
return regeneratorRuntime_default()().wrap(function _callee9$(_context10) {
|
|
|
|
|
while (1) switch (_context10.prev = _context10.next) {
|
|
|
|
|
case 0:
|
|
|
|
|
_context10.next = 2;
|
|
|
|
|
return (0,fetch/* default */.ZP)("/api/competitions/".concat(identifier, "/competition_teams/").concat(CommitRecords === null || CommitRecords === void 0 || (_CommitRecords$data7 = CommitRecords.data) === null || _CommitRecords$data7 === void 0 ? void 0 : _CommitRecords$data7.competition_team_id, "/get_models.json"), {
|
|
|
|
|
method: 'get',
|
|
|
|
|
params: {
|
|
|
|
|
type: (competitionStage === null || competitionStage === void 0 ? void 0 : competitionStage.category) === 'gpu' && !(competitionStage !== null && competitionStage !== void 0 && competitionStage.used_section_datasets) ? 4 : 1,
|
|
|
|
|
q: '',
|
|
|
|
|
page: 1,
|
|
|
|
|
limit: 1
|
|
|
|
|
}
|
|
|
|
|
});
|
|
|
|
|
case 2:
|
|
|
|
|
res = _context10.sent;
|
|
|
|
|
if ((res === null || res === void 0 ? void 0 : res.status) === 0) {
|
|
|
|
|
tempData = res === null || res === void 0 || (_res$data3 = res.data) === null || _res$data3 === void 0 || (_res$data3 = _res$data3.data) === null || _res$data3 === void 0 || (_res$data3 = _res$data3.data) === null || _res$data3 === void 0 ? void 0 : _res$data3.map(function (item, index) {
|
|
|
|
|
return {
|
|
|
|
|
id: item === null || item === void 0 ? void 0 : item.id,
|
|
|
|
|
name: item === null || item === void 0 ? void 0 : item.name
|
|
|
|
|
};
|
|
|
|
|
});
|
|
|
|
|
setDefaultPatten(tempData);
|
|
|
|
|
}
|
|
|
|
|
case 4:
|
|
|
|
|
case "end":
|
|
|
|
|
return _context10.stop();
|
|
|
|
|
}
|
|
|
|
|
}, _callee9);
|
|
|
|
|
}));
|
|
|
|
|
return function getDefaultPatten() {
|
|
|
|
|
return _ref10.apply(this, arguments);
|
|
|
|
|
};
|
|
|
|
|
}();
|
|
|
|
|
var handleCommit = /*#__PURE__*/function () {
|
|
|
|
|
var _ref11 = asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee10() {
|
|
|
|
|
var _CommitRecords$data8, _CommitRecords$data9;
|
|
|
|
|
var payload, res, _res$del_filename, _res$del_filename2, s3;
|
|
|
|
|
return regeneratorRuntime_default()().wrap(function _callee10$(_context11) {
|
|
|
|
|
while (1) switch (_context11.prev = _context11.next) {
|
|
|
|
|
case 0:
|
|
|
|
|
payload = {
|
|
|
|
|
identifier: identifier,
|
|
|
|
|
section_id: competitionStage === null || competitionStage === void 0 ? void 0 : competitionStage.id,
|
|
|
|
|
commit_type: radioValue,
|
|
|
|
|
type: CommitRecords !== null && CommitRecords !== void 0 && (_CommitRecords$data7 = CommitRecords.data) !== null && _CommitRecords$data7 !== void 0 && _CommitRecords$data7.is_yd_oss ? 'yd' : '',
|
|
|
|
|
attachment_ids: CommitRecords !== null && CommitRecords !== void 0 && (_CommitRecords$data8 = CommitRecords.data) !== null && _CommitRecords$data8 !== void 0 && _CommitRecords$data8.is_yd_oss ? fileList === null || fileList === void 0 ? void 0 : fileList.map(function (item) {
|
|
|
|
|
type: CommitRecords !== null && CommitRecords !== void 0 && (_CommitRecords$data8 = CommitRecords.data) !== null && _CommitRecords$data8 !== void 0 && _CommitRecords$data8.is_yd_oss ? 'yd' : '',
|
|
|
|
|
attachment_ids: CommitRecords !== null && CommitRecords !== void 0 && (_CommitRecords$data9 = CommitRecords.data) !== null && _CommitRecords$data9 !== void 0 && _CommitRecords$data9.is_yd_oss ? fileList === null || fileList === void 0 ? void 0 : fileList.map(function (item) {
|
|
|
|
|
var _item$response, _item$response2, _item$response3, _item$response4;
|
|
|
|
|
return {
|
|
|
|
|
name: item === null || item === void 0 || (_item$response = item.response) === null || _item$response === void 0 ? void 0 : _item$response.oldName,
|
|
|
|
|
@ -14697,13 +14740,13 @@ var Entrance = function Entrance(_ref) {
|
|
|
|
|
payload.place = (mirrorInfo === null || mirrorInfo === void 0 ? void 0 : mirrorInfo.place) || (competitionStage === null || competitionStage === void 0 ? void 0 : competitionStage.place);
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
_context10.next = 4;
|
|
|
|
|
_context11.next = 4;
|
|
|
|
|
return dispatch({
|
|
|
|
|
type: "competitions/postCompetitionCommitRecords",
|
|
|
|
|
payload: objectSpread2_default()({}, payload)
|
|
|
|
|
});
|
|
|
|
|
case 4:
|
|
|
|
|
res = _context10.sent;
|
|
|
|
|
res = _context11.sent;
|
|
|
|
|
if ((res === null || res === void 0 ? void 0 : res.status) == 0) {
|
|
|
|
|
message/* default */.ZP.success(res === null || res === void 0 ? void 0 : res.message);
|
|
|
|
|
setFileList([]);
|
|
|
|
|
@ -14737,12 +14780,12 @@ var Entrance = function Entrance(_ref) {
|
|
|
|
|
}
|
|
|
|
|
case 7:
|
|
|
|
|
case "end":
|
|
|
|
|
return _context10.stop();
|
|
|
|
|
return _context11.stop();
|
|
|
|
|
}
|
|
|
|
|
}, _callee9);
|
|
|
|
|
}, _callee10);
|
|
|
|
|
}));
|
|
|
|
|
return function handleCommit() {
|
|
|
|
|
return _ref10.apply(this, arguments);
|
|
|
|
|
return _ref11.apply(this, arguments);
|
|
|
|
|
};
|
|
|
|
|
}();
|
|
|
|
|
return /*#__PURE__*/(0,jsx_runtime.jsxs)(jsx_runtime.Fragment, {
|
|
|
|
|
@ -14760,7 +14803,10 @@ var Entrance = function Entrance(_ref) {
|
|
|
|
|
onClick: function onClick() {
|
|
|
|
|
if ((competitionStage === null || competitionStage === void 0 ? void 0 : competitionStage.category) === 'npu' || (competitionStage === null || competitionStage === void 0 ? void 0 : competitionStage.category) === 'gpu') {
|
|
|
|
|
setCommitModalVis(true);
|
|
|
|
|
getMirrorAndSpecificList();
|
|
|
|
|
if ((competitionStage === null || competitionStage === void 0 ? void 0 : competitionStage.category) === 'npu') {
|
|
|
|
|
getMirrorAndSpecificList();
|
|
|
|
|
}
|
|
|
|
|
getDefaultPatten();
|
|
|
|
|
} else {
|
|
|
|
|
handleCommit();
|
|
|
|
|
}
|
|
|
|
|
@ -14776,7 +14822,7 @@ var Entrance = function Entrance(_ref) {
|
|
|
|
|
children: "\u9898\u76EE\u540D\u79F0"
|
|
|
|
|
}), /*#__PURE__*/(0,jsx_runtime.jsx)(col/* default */.Z, {
|
|
|
|
|
className: "ml20",
|
|
|
|
|
children: CommitRecords === null || CommitRecords === void 0 || (_CommitRecords$data9 = CommitRecords.data) === null || _CommitRecords$data9 === void 0 || (_CommitRecords$data9 = _CommitRecords$data9.question) === null || _CommitRecords$data9 === void 0 ? void 0 : _CommitRecords$data9.name
|
|
|
|
|
children: CommitRecords === null || CommitRecords === void 0 || (_CommitRecords$data10 = CommitRecords.data) === null || _CommitRecords$data10 === void 0 || (_CommitRecords$data10 = _CommitRecords$data10.question) === null || _CommitRecords$data10 === void 0 ? void 0 : _CommitRecords$data10.name
|
|
|
|
|
})]
|
|
|
|
|
}), (competitionStage === null || competitionStage === void 0 ? void 0 : competitionStage.category) !== 'npu' && (competitionStage === null || competitionStage === void 0 ? void 0 : competitionStage.category) !== 'gpu' && /*#__PURE__*/(0,jsx_runtime.jsxs)(row/* default */.Z, {
|
|
|
|
|
className: "mt25",
|
|
|
|
|
@ -14892,10 +14938,10 @@ var Entrance = function Entrance(_ref) {
|
|
|
|
|
display: "inline-block"
|
|
|
|
|
},
|
|
|
|
|
children: ["\u4ED3\u5E93\u6587\u4EF6\u8DEF\u5F84\uFF1A", /*#__PURE__*/(0,jsx_runtime.jsx)("a", {
|
|
|
|
|
href: CommitRecords === null || CommitRecords === void 0 || (_CommitRecords$data10 = CommitRecords.data) === null || _CommitRecords$data10 === void 0 ? void 0 : _CommitRecords$data10.git_address,
|
|
|
|
|
children: CommitRecords === null || CommitRecords === void 0 || (_CommitRecords$data11 = CommitRecords.data) === null || _CommitRecords$data11 === void 0 ? void 0 : _CommitRecords$data11.git_address
|
|
|
|
|
href: CommitRecords === null || CommitRecords === void 0 || (_CommitRecords$data11 = CommitRecords.data) === null || _CommitRecords$data11 === void 0 ? void 0 : _CommitRecords$data11.git_address,
|
|
|
|
|
children: CommitRecords === null || CommitRecords === void 0 || (_CommitRecords$data12 = CommitRecords.data) === null || _CommitRecords$data12 === void 0 ? void 0 : _CommitRecords$data12.git_address
|
|
|
|
|
})]
|
|
|
|
|
}), (CommitRecords === null || CommitRecords === void 0 || (_CommitRecords$data12 = CommitRecords.data) === null || _CommitRecords$data12 === void 0 || (_CommitRecords$data12 = _CommitRecords$data12.records) === null || _CommitRecords$data12 === void 0 ? void 0 : _CommitRecords$data12.length) > 0 && /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
|
|
|
|
|
}), (CommitRecords === null || CommitRecords === void 0 || (_CommitRecords$data13 = CommitRecords.data) === null || _CommitRecords$data13 === void 0 || (_CommitRecords$data13 = _CommitRecords$data13.records) === null || _CommitRecords$data13 === void 0 ? void 0 : _CommitRecords$data13.length) > 0 && /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
|
|
|
|
|
className: "mt30",
|
|
|
|
|
style: {
|
|
|
|
|
borderTop: "1px solid #F1F1F1"
|
|
|
|
|
@ -14921,7 +14967,7 @@ var Entrance = function Entrance(_ref) {
|
|
|
|
|
pagination: false
|
|
|
|
|
// loading={loading["competitions/getCompetitionCommitRecords"]}
|
|
|
|
|
,
|
|
|
|
|
dataSource: CommitRecords === null || CommitRecords === void 0 || (_CommitRecords$data13 = CommitRecords.data) === null || _CommitRecords$data13 === void 0 ? void 0 : _CommitRecords$data13.records,
|
|
|
|
|
dataSource: CommitRecords === null || CommitRecords === void 0 || (_CommitRecords$data14 = CommitRecords.data) === null || _CommitRecords$data14 === void 0 ? void 0 : _CommitRecords$data14.records,
|
|
|
|
|
columns: Columns
|
|
|
|
|
})]
|
|
|
|
|
}), /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
|
|
|
|
|
@ -14958,7 +15004,7 @@ var Entrance = function Entrance(_ref) {
|
|
|
|
|
}
|
|
|
|
|
}) : /*#__PURE__*/(0,jsx_runtime.jsx)(RenderHtml/* default */.Z, {
|
|
|
|
|
className: "mt30",
|
|
|
|
|
value: CommitRecords === null || CommitRecords === void 0 || (_CommitRecords$data14 = CommitRecords.data) === null || _CommitRecords$data14 === void 0 || (_CommitRecords$data14 = _CommitRecords$data14.question) === null || _CommitRecords$data14 === void 0 ? void 0 : _CommitRecords$data14.description
|
|
|
|
|
value: CommitRecords === null || CommitRecords === void 0 || (_CommitRecords$data15 = CommitRecords.data) === null || _CommitRecords$data15 === void 0 || (_CommitRecords$data15 = _CommitRecords$data15.question) === null || _CommitRecords$data15 === void 0 ? void 0 : _CommitRecords$data15.description
|
|
|
|
|
}), isEdit && /*#__PURE__*/(0,jsx_runtime.jsxs)(row/* default */.Z, {
|
|
|
|
|
className: "mt40",
|
|
|
|
|
align: "middle",
|
|
|
|
|
@ -14973,12 +15019,12 @@ var Entrance = function Entrance(_ref) {
|
|
|
|
|
size: "large",
|
|
|
|
|
className: "ml20",
|
|
|
|
|
type: "primary",
|
|
|
|
|
onClick: /*#__PURE__*/asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee10() {
|
|
|
|
|
onClick: /*#__PURE__*/asyncToGenerator_default()( /*#__PURE__*/regeneratorRuntime_default()().mark(function _callee11() {
|
|
|
|
|
var res;
|
|
|
|
|
return regeneratorRuntime_default()().wrap(function _callee10$(_context11) {
|
|
|
|
|
while (1) switch (_context11.prev = _context11.next) {
|
|
|
|
|
return regeneratorRuntime_default()().wrap(function _callee11$(_context12) {
|
|
|
|
|
while (1) switch (_context12.prev = _context12.next) {
|
|
|
|
|
case 0:
|
|
|
|
|
_context11.next = 2;
|
|
|
|
|
_context12.next = 2;
|
|
|
|
|
return dispatch({
|
|
|
|
|
type: "competitions/putCompetitionEntries",
|
|
|
|
|
payload: objectSpread2_default()({
|
|
|
|
|
@ -14986,7 +15032,7 @@ var Entrance = function Entrance(_ref) {
|
|
|
|
|
}, urlData)
|
|
|
|
|
});
|
|
|
|
|
case 2:
|
|
|
|
|
res = _context11.sent;
|
|
|
|
|
res = _context12.sent;
|
|
|
|
|
if ((res === null || res === void 0 ? void 0 : res.status) == 0) {
|
|
|
|
|
message/* default */.ZP.success("修改成功");
|
|
|
|
|
setIsEdit(false);
|
|
|
|
|
@ -14994,9 +15040,9 @@ var Entrance = function Entrance(_ref) {
|
|
|
|
|
}
|
|
|
|
|
case 4:
|
|
|
|
|
case "end":
|
|
|
|
|
return _context11.stop();
|
|
|
|
|
return _context12.stop();
|
|
|
|
|
}
|
|
|
|
|
}, _callee10);
|
|
|
|
|
}, _callee11);
|
|
|
|
|
})),
|
|
|
|
|
children: "\u4FDD\u5B58\u66F4\u6539"
|
|
|
|
|
})]
|
|
|
|
|
@ -15040,7 +15086,7 @@ var Entrance = function Entrance(_ref) {
|
|
|
|
|
data_sets: competitionStage === null || competitionStage === void 0 || (_competitionStage$dat = competitionStage.data_sets) === null || _competitionStage$dat === void 0 || (_competitionStage$dat = _competitionStage$dat.map(function (item) {
|
|
|
|
|
return item === null || item === void 0 ? void 0 : item.name;
|
|
|
|
|
})) === null || _competitionStage$dat === void 0 ? void 0 : _competitionStage$dat.join('、'),
|
|
|
|
|
pattern: 'llama_model_7B'
|
|
|
|
|
pattern: defaultPatten === null || defaultPatten === void 0 || (_defaultPatten$ = defaultPatten[0]) === null || _defaultPatten$ === void 0 ? void 0 : _defaultPatten$.name
|
|
|
|
|
},
|
|
|
|
|
children: [(competitionStage === null || competitionStage === void 0 ? void 0 : competitionStage.category) === 'npu' && /*#__PURE__*/(0,jsx_runtime.jsx)(es_form/* default */.Z.Item, {
|
|
|
|
|
className: Entrancemodules.form_item,
|
|
|
|
|
@ -15185,7 +15231,7 @@ var Entrance = function Entrance(_ref) {
|
|
|
|
|
}), /*#__PURE__*/(0,jsx_runtime.jsx)(components_DataSetModal, {
|
|
|
|
|
defaultValue: competitionStage === null || competitionStage === void 0 ? void 0 : competitionStage.data_sets,
|
|
|
|
|
visible: dataSetVis,
|
|
|
|
|
teamId: CommitRecords === null || CommitRecords === void 0 || (_CommitRecords$data15 = CommitRecords.data) === null || _CommitRecords$data15 === void 0 ? void 0 : _CommitRecords$data15.competition_team_id,
|
|
|
|
|
teamId: CommitRecords === null || CommitRecords === void 0 || (_CommitRecords$data16 = CommitRecords.data) === null || _CommitRecords$data16 === void 0 ? void 0 : _CommitRecords$data16.competition_team_id,
|
|
|
|
|
cluster_type: (competitionStage === null || competitionStage === void 0 ? void 0 : competitionStage.category) === 'npu' ? 1 : 0,
|
|
|
|
|
onCancle: function onCancle() {
|
|
|
|
|
setDataSetVis(false);
|
|
|
|
|
@ -15195,12 +15241,9 @@ var Entrance = function Entrance(_ref) {
|
|
|
|
|
form.setFieldValue('data_sets', datasetsString);
|
|
|
|
|
}
|
|
|
|
|
}), /*#__PURE__*/(0,jsx_runtime.jsx)(PatternModal, {
|
|
|
|
|
defaultValue: [{
|
|
|
|
|
name: "llama_model_7B",
|
|
|
|
|
id: "7e99c056-587f-4174-bd15-bff987d364e6"
|
|
|
|
|
}],
|
|
|
|
|
defaultValue: defaultPatten || [],
|
|
|
|
|
visible: patternVis,
|
|
|
|
|
teamId: CommitRecords === null || CommitRecords === void 0 || (_CommitRecords$data16 = CommitRecords.data) === null || _CommitRecords$data16 === void 0 ? void 0 : _CommitRecords$data16.competition_team_id,
|
|
|
|
|
teamId: CommitRecords === null || CommitRecords === void 0 || (_CommitRecords$data17 = CommitRecords.data) === null || _CommitRecords$data17 === void 0 ? void 0 : _CommitRecords$data17.competition_team_id,
|
|
|
|
|
onCancle: function onCancle() {
|
|
|
|
|
setPatternVis(false);
|
|
|
|
|
},
|
|
|
|
|
@ -15208,10 +15251,10 @@ var Entrance = function Entrance(_ref) {
|
|
|
|
|
setModels(datasets);
|
|
|
|
|
form.setFieldValue('pattern', datasetsString);
|
|
|
|
|
},
|
|
|
|
|
binRatioTab: competitionStage === null || competitionStage === void 0 ? void 0 : competitionStage.used_section_datasets
|
|
|
|
|
binRatioTab: !(competitionStage !== null && competitionStage !== void 0 && competitionStage.used_section_datasets)
|
|
|
|
|
}), /*#__PURE__*/(0,jsx_runtime.jsx)(MirrorModal, {
|
|
|
|
|
visible: mirrorModalVis,
|
|
|
|
|
teamId: CommitRecords === null || CommitRecords === void 0 || (_CommitRecords$data17 = CommitRecords.data) === null || _CommitRecords$data17 === void 0 ? void 0 : _CommitRecords$data17.competition_team_id,
|
|
|
|
|
teamId: CommitRecords === null || CommitRecords === void 0 || (_CommitRecords$data18 = CommitRecords.data) === null || _CommitRecords$data18 === void 0 ? void 0 : _CommitRecords$data18.competition_team_id,
|
|
|
|
|
cluster_type: (competitionStage === null || competitionStage === void 0 ? void 0 : competitionStage.category) === 'npu' ? 1 : 0,
|
|
|
|
|
onCancle: function onCancle() {
|
|
|
|
|
setMirrorModalVis(false);
|
|
|
|
|
@ -15223,11 +15266,11 @@ var Entrance = function Entrance(_ref) {
|
|
|
|
|
})]
|
|
|
|
|
});
|
|
|
|
|
};
|
|
|
|
|
/* harmony default export */ var view_Entrance = ((0,_umi_production_exports.connect)(function (_ref12) {
|
|
|
|
|
var competitions = _ref12.competitions,
|
|
|
|
|
loading = _ref12.loading,
|
|
|
|
|
globalSetting = _ref12.globalSetting,
|
|
|
|
|
user = _ref12.user;
|
|
|
|
|
/* harmony default export */ var view_Entrance = ((0,_umi_production_exports.connect)(function (_ref13) {
|
|
|
|
|
var competitions = _ref13.competitions,
|
|
|
|
|
loading = _ref13.loading,
|
|
|
|
|
globalSetting = _ref13.globalSetting,
|
|
|
|
|
user = _ref13.user;
|
|
|
|
|
return {
|
|
|
|
|
competitions: competitions,
|
|
|
|
|
globalSetting: globalSetting,
|