From b70f2883b4cfdb73c4fceb3a6e684baaba2c90ee Mon Sep 17 00:00:00 2001 From: Zero Date: Sun, 5 Dec 2021 17:50:30 +0800 Subject: [PATCH] feat(msp): fix cascader unavailable --- pnpm-lock.yaml | 252 +----------------- .../modules/project/pages/backlog/backlog.tsx | 18 +- shell/package.json | 2 +- 3 files changed, 17 insertions(+), 255 deletions(-) diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 83df08b086..3358178f8f 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -328,7 +328,7 @@ importers: '@babel/preset-typescript': ^7.15.0 '@babel/runtime': ^7.15.4 '@babel/traverse': ^7.14.7 - '@erda-ui/dashboard-configurator': 2.0.4 + '@erda-ui/dashboard-configurator': 2.0.5 '@erda-ui/react-markdown-editor-lite': ^1.4.7 '@icon-park/react': ^1.3.3 '@module-federation/automatic-vendor-federation': ^1.2.1 @@ -471,7 +471,7 @@ importers: webpack-merge: ^5.7.3 xterm: 3.12.0 dependencies: - '@erda-ui/dashboard-configurator': 2.0.4_react-dom@16.14.0+react@16.14.0 + '@erda-ui/dashboard-configurator': 2.0.5_react-dom@16.14.0+react@16.14.0 '@erda-ui/react-markdown-editor-lite': 1.4.7_react@16.14.0 '@icon-park/react': 1.3.3_react-dom@16.14.0+react@16.14.0 ace-builds: 1.4.12 @@ -5720,13 +5720,13 @@ packages: engines: {node: '>=10.0.0'} dev: true - /@erda-ui/dashboard-configurator/2.0.4_react-dom@16.14.0+react@16.14.0: - resolution: {integrity: sha512-UD2QR+8x9bX0clt0HjQa6RSWQeWus01pN9v5eKXB+Mu+6BExVe/G+UADAsUTM3T9ZxUqohb7gVlsD+Fk3NadOQ==} + /@erda-ui/dashboard-configurator/2.0.5_react-dom@16.14.0+react@16.14.0: + resolution: {integrity: sha512-nfg4sV4iz2dcjayBZKrD3O0M7LrFrjkSgqrU1g9uRhJuJjcaM95w4CxdC2Bte7R6T50HcAlBeQKKwyvrrd/x6g==} peerDependencies: react: '>=16.14.0' react-dom: '>=16.14.0' dependencies: - antd: 4.17.2_react-dom@16.14.0+react@16.14.0 + antd: 4.16.13_react-dom@16.14.0+react@16.14.0 classnames: 2.3.1 clipboard: 2.0.8 cube-state: 1.5.6_react@16.14.0 @@ -8829,7 +8829,7 @@ packages: webpack-cli: 4.x.x dependencies: envinfo: 7.8.1 - webpack-cli: 4.7.0_6256c4c7530243cf24a1ff746ee9d921 + webpack-cli: 4.7.0_ba633acb38016457254722d87c7e8964 dev: true /@webpack-cli/serve/1.4.0_webpack-cli@4.7.0: @@ -8841,7 +8841,7 @@ packages: webpack-dev-server: optional: true dependencies: - webpack-cli: 4.7.0_6256c4c7530243cf24a1ff746ee9d921 + webpack-cli: 4.7.0_ba633acb38016457254722d87c7e8964 dev: true /@xobotyi/scrollbar-width/1.9.5: @@ -9276,59 +9276,6 @@ packages: scroll-into-view-if-needed: 2.2.28 dev: false - /antd/4.17.2_react-dom@16.14.0+react@16.14.0: - resolution: {integrity: sha512-1/xwj72mzg2ly5byvnxsgucEL5JMrinlsaAr4Y+vjobmTBSI9l9zOVkwwOG8kPIrFkhrzC1I42n6GZKnTwfZmg==} - peerDependencies: - react: '>=16.9.0' - react-dom: '>=16.9.0' - dependencies: - '@ant-design/colors': 6.0.0 - '@ant-design/icons': 4.7.0_react-dom@16.14.0+react@16.14.0 - '@ant-design/react-slick': 0.28.4_react@16.14.0 - '@babel/runtime': 7.16.3 - '@ctrl/tinycolor': 3.4.0 - array-tree-filter: 2.1.0 - classnames: 2.3.1 - copy-to-clipboard: 3.3.1 - lodash: 4.17.21 - memoize-one: 6.0.0 - moment: 2.29.1 - rc-cascader: 2.2.1_react-dom@16.14.0+react@16.14.0 - rc-checkbox: 2.3.2_react-dom@16.14.0+react@16.14.0 - rc-collapse: 3.1.2_react-dom@16.14.0+react@16.14.0 - rc-dialog: 8.6.0_react-dom@16.14.0+react@16.14.0 - rc-drawer: 4.4.3_react-dom@16.14.0+react@16.14.0 - rc-dropdown: 3.2.0_react-dom@16.14.0+react@16.14.0 - rc-field-form: 1.21.2_react-dom@16.14.0+react@16.14.0 - rc-image: 5.2.5_react-dom@16.14.0+react@16.14.0 - rc-input-number: 7.3.4_react-dom@16.14.0+react@16.14.0 - rc-mentions: 1.6.1_react-dom@16.14.0+react@16.14.0 - rc-menu: 9.0.14_react-dom@16.14.0+react@16.14.0 - rc-motion: 2.4.4_react-dom@16.14.0+react@16.14.0 - rc-notification: 4.5.7_react-dom@16.14.0+react@16.14.0 - rc-pagination: 3.1.14_react-dom@16.14.0+react@16.14.0 - rc-picker: 2.5.19_react-dom@16.14.0+react@16.14.0 - rc-progress: 3.1.4_react-dom@16.14.0+react@16.14.0 - rc-rate: 2.9.1_react-dom@16.14.0+react@16.14.0 - rc-resize-observer: 1.1.1_react-dom@16.14.0+react@16.14.0 - rc-select: 13.1.1_react-dom@16.14.0+react@16.14.0 - rc-slider: 9.7.4_react-dom@16.14.0+react@16.14.0 - rc-steps: 4.1.4_react-dom@16.14.0+react@16.14.0 - rc-switch: 3.2.2_react-dom@16.14.0+react@16.14.0 - rc-table: 7.19.2_react-dom@16.14.0+react@16.14.0 - rc-tabs: 11.10.4_react-dom@16.14.0+react@16.14.0 - rc-textarea: 0.3.5_react-dom@16.14.0+react@16.14.0 - rc-tooltip: 5.1.1_react-dom@16.14.0+react@16.14.0 - rc-tree: 5.3.0_react-dom@16.14.0+react@16.14.0 - rc-tree-select: 4.7.0_react-dom@16.14.0+react@16.14.0 - rc-trigger: 5.2.10_react-dom@16.14.0+react@16.14.0 - rc-upload: 4.3.2_react-dom@16.14.0+react@16.14.0 - rc-util: 5.16.0_react-dom@16.14.0+react@16.14.0 - react: 16.14.0 - react-dom: 16.14.0_react@16.14.0 - scroll-into-view-if-needed: 2.2.28 - dev: false - /anymatch/2.0.0: resolution: {integrity: sha512-5teOsQWABXHHBFP9y3skS5P3d/WfWXpv3FUpy+LorMrNYaT9pI4oLMQX7jzQ2KklNpGpWHzdCXTDT2Y3XGlZBw==} dependencies: @@ -9605,10 +9552,6 @@ packages: resolution: {integrity: sha512-8eLCg00W9pIRZSB781UUX/H6Oskmm8xloZfr09lz5bikRpBVDlJ3hRVuxxP1SxcwsEYfJ4IU8Q19Y8/893r3rQ==} dev: false - /async-validator/4.0.7: - resolution: {integrity: sha512-Pj2IR7u8hmUEDOwB++su6baaRi+QvsgajuFB9j95foM1N2gy5HM4z60hfusIO0fBPG5uLAEl6yCJr1jNSVugEQ==} - dev: false - /async/0.9.2: resolution: {integrity: sha1-rqdNXmHB+JlhO/ZL2mbUx48v0X0=} dev: true @@ -19258,10 +19201,6 @@ packages: resolution: {integrity: sha512-YqVh744GsMlZu6xkhGslPSqSurOv6P+kLN2J3ysBZfagLcL5FdRK/0UpgLoL8hwjjEvvAVkjJZyFP+1T6p1vgA==} dev: false - /memoize-one/6.0.0: - resolution: {integrity: sha512-rkpe71W0N0c0Xz6QD0eJETuWAJGnJ9afsl1srmwPrI+yBCkge5EycXXbYRyvL29zZVUWQCY7InPRCv3GDXuZNw==} - dev: false - /memoizee/0.4.15: resolution: {integrity: sha512-UBWmJpLZd5STPm7PMUlOw/TSy972M+z8gcyQ5veOnSDRREz/0bmpyTfKt3/51DhEBqCZQn1udM/5flcSPYhkdQ==} dependencies: @@ -22928,22 +22867,6 @@ packages: warning: 4.0.3 dev: false - /rc-cascader/2.2.1_react-dom@16.14.0+react@16.14.0: - resolution: {integrity: sha512-4saWcwpmxxh5fhUdaDgOLF2gWL8KNxLwWqELX702HNXEt2yU7AixjfvgEORNsnQZleT2W2AaGMkRDeWrwt8fMw==} - peerDependencies: - react: '>=16.9.0' - react-dom: '>=16.9.0' - dependencies: - '@babel/runtime': 7.16.3 - array-tree-filter: 2.1.0 - rc-tree-select: 4.7.0_react-dom@16.14.0+react@16.14.0 - rc-trigger: 5.2.10_react-dom@16.14.0+react@16.14.0 - rc-util: 5.16.0_react-dom@16.14.0+react@16.14.0 - react: 16.14.0 - react-dom: 16.14.0_react@16.14.0 - warning: 4.0.3 - dev: false - /rc-checkbox/2.3.2_react-dom@16.14.0+react@16.14.0: resolution: {integrity: sha512-afVi1FYiGv1U0JlpNH/UaEXdh6WUJjcWokj/nUN2TgG80bfG+MDdbfHKlLcNNba94mbjy2/SXJ1HDgrOkXGAjg==} peerDependencies: @@ -22998,19 +22921,6 @@ packages: react-dom: 16.14.0_react@16.14.0 dev: false - /rc-drawer/4.4.3_react-dom@16.14.0+react@16.14.0: - resolution: {integrity: sha512-FYztwRs3uXnFOIf1hLvFxIQP9MiZJA+0w+Os8dfDh/90X7z/HqP/Yg+noLCIeHEbKln1Tqelv8ymCAN24zPcfQ==} - peerDependencies: - react: '>=16.9.0' - react-dom: '>=16.9.0' - dependencies: - '@babel/runtime': 7.16.3 - classnames: 2.3.1 - rc-util: 5.16.0_react-dom@16.14.0+react@16.14.0 - react: 16.14.0 - react-dom: 16.14.0_react@16.14.0 - dev: false - /rc-dropdown/3.2.0_react-dom@16.14.0+react@16.14.0: resolution: {integrity: sha512-j1HSw+/QqlhxyTEF6BArVZnTmezw2LnSmRk6I9W7BCqNCKaRwleRmMMs1PHbuaG8dKHVqP6e21RQ7vPBLVnnNw==} peerDependencies: @@ -23038,20 +22948,6 @@ packages: react-dom: 16.14.0_react@16.14.0 dev: false - /rc-field-form/1.21.2_react-dom@16.14.0+react@16.14.0: - resolution: {integrity: sha512-LR/bURt/Tf5g39mb0wtMtQuWn42d/7kEzpzlC5fNC7yaRVmLTtlPP4sBBlaViETM9uZQKLoaB0Pt9Mubhm9gow==} - engines: {node: '>=8.x'} - peerDependencies: - react: '>= 16.9.0' - react-dom: '>= 16.9.0' - dependencies: - '@babel/runtime': 7.16.3 - async-validator: 4.0.7 - rc-util: 5.16.0_react-dom@16.14.0+react@16.14.0 - react: 16.14.0 - react-dom: 16.14.0_react@16.14.0 - dev: false - /rc-image/5.2.5_react-dom@16.14.0+react@16.14.0: resolution: {integrity: sha512-qUfZjYIODxO0c8a8P5GeuclYXZjzW4hV/5hyo27XqSFo1DmTCs2HkVeQObkcIk5kNsJtgsj1KoPThVsSc/PXOw==} peerDependencies: @@ -23079,19 +22975,6 @@ packages: react-dom: 16.14.0_react@16.14.0 dev: false - /rc-input-number/7.3.4_react-dom@16.14.0+react@16.14.0: - resolution: {integrity: sha512-W9uqSzuvJUnz8H8vsVY4kx+yK51SsAxNTwr8SNH4G3XqQNocLVmKIibKFRjocnYX1RDHMND9FFbgj2h7E7nvGA==} - peerDependencies: - react: '>=16.9.0' - react-dom: '>=16.9.0' - dependencies: - '@babel/runtime': 7.16.3 - classnames: 2.3.1 - rc-util: 5.16.0_react-dom@16.14.0+react@16.14.0 - react: 16.14.0 - react-dom: 16.14.0_react@16.14.0 - dev: false - /rc-mentions/1.6.1_react-dom@16.14.0+react@16.14.0: resolution: {integrity: sha512-LDzGI8jJVGnkhpTZxZuYBhMz3avcZZqPGejikchh97xPni/g4ht714Flh7DVvuzHQ+BoKHhIjobHnw1rcP8erg==} peerDependencies: @@ -23167,18 +23050,6 @@ packages: react-dom: 16.14.0_react@16.14.0 dev: false - /rc-pagination/3.1.14_react-dom@16.14.0+react@16.14.0: - resolution: {integrity: sha512-tcugvxrtPiVU00Uh0IwC8NIUlxa4KtA9pXcaMNJdSHeO2uQqVkHEwllsULTAWRF3zRV2ozo2weP/DRKIUrX+Zg==} - peerDependencies: - react: '>=16.9.0' - react-dom: '>=16.9.0' - dependencies: - '@babel/runtime': 7.16.3 - classnames: 2.3.1 - react: 16.14.0 - react-dom: 16.14.0_react@16.14.0 - dev: false - /rc-pagination/3.1.9_react-dom@16.14.0+react@16.14.0: resolution: {integrity: sha512-IKBKaJ4icVPeEk9qRHrFBJmHxBUrCp3+nENBYob4Ofqsu3RXjBOy4N36zONO7oubgLyiG3PxVmyAuVlTkoc7Jg==} peerDependencies: @@ -23250,20 +23121,6 @@ packages: resize-observer-polyfill: 1.5.1 dev: false - /rc-resize-observer/1.1.1_react-dom@16.14.0+react@16.14.0: - resolution: {integrity: sha512-5A3B9ha297ItltzXl812WFE36SyRDTNclfrXE3FL1pEwXkBh7iSEzxjzfwsPeMcF9ahy3ZoxLgLuRksXBGGD6A==} - peerDependencies: - react: '>=16.9.0' - react-dom: '>=16.9.0' - dependencies: - '@babel/runtime': 7.16.3 - classnames: 2.3.1 - rc-util: 5.16.0_react-dom@16.14.0+react@16.14.0 - react: 16.14.0 - react-dom: 16.14.0_react@16.14.0 - resize-observer-polyfill: 1.5.1 - dev: false - /rc-select/12.1.13_react-dom@16.14.0+react@16.14.0: resolution: {integrity: sha512-cPI+aesP6dgCAaey4t4upDbEukJe+XN0DK6oO/6flcCX5o28o7KNZD7JAiVtC/6fCwqwI/kSs7S/43dvHmBl+A==} engines: {node: '>=8.x'} @@ -23282,24 +23139,6 @@ packages: react-dom: 16.14.0_react@16.14.0 dev: false - /rc-select/13.1.1_react-dom@16.14.0+react@16.14.0: - resolution: {integrity: sha512-Oy4L27x5QgGR8902pw0bJVjrTWFnKPKvdLHzJl5pjiA+jM1hpzDfLGg/bY2ntk5ElxxQKZUwbFKUeqfCQU7SrQ==} - engines: {node: '>=8.x'} - peerDependencies: - react: '*' - react-dom: '*' - dependencies: - '@babel/runtime': 7.16.3 - classnames: 2.3.1 - rc-motion: 2.4.4_react-dom@16.14.0+react@16.14.0 - rc-overflow: 1.2.2_react-dom@16.14.0+react@16.14.0 - rc-trigger: 5.2.10_react-dom@16.14.0+react@16.14.0 - rc-util: 5.16.0_react-dom@16.14.0+react@16.14.0 - rc-virtual-list: 3.4.2_react-dom@16.14.0+react@16.14.0 - react: 16.14.0 - react-dom: 16.14.0_react@16.14.0 - dev: false - /rc-slider/9.7.4_react-dom@16.14.0+react@16.14.0: resolution: {integrity: sha512-pjLKLiDKiaL7/pNywfIBD+lDo5TtVo05KuIBSWEIoqu6FHh6IMWvthCiaODuYaVs3RLeF2nXOP5AjkD2Lt2Rwg==} engines: {node: '>=8.x'} @@ -23359,22 +23198,6 @@ packages: shallowequal: 1.1.0 dev: false - /rc-table/7.19.2_react-dom@16.14.0+react@16.14.0: - resolution: {integrity: sha512-NdpnoM50MK02H5/hGOsObfxCvGFUG5cHB9turE5BKJ81T5Ycbq193w5tLhnpILXe//Oanzr47MdMxkUnVGP+qg==} - engines: {node: '>=8.x'} - peerDependencies: - react: '>=16.9.0' - react-dom: '>=16.9.0' - dependencies: - '@babel/runtime': 7.16.3 - classnames: 2.3.1 - rc-resize-observer: 1.1.1_react-dom@16.14.0+react@16.14.0 - rc-util: 5.16.0_react-dom@16.14.0+react@16.14.0 - react: 16.14.0 - react-dom: 16.14.0_react@16.14.0 - shallowequal: 1.1.0 - dev: false - /rc-tabs/11.10.2_react-dom@16.14.0+react@16.14.0: resolution: {integrity: sha512-qJCDXvDarn0MxeY14/tAeTRTdjlSDD4ZwraCa9gbSrnalTIxJiJ3NOFUGICvYT4t7lnhL2dmryAG3H6RdaD00Q==} engines: {node: '>=8.x'} @@ -23392,23 +23215,6 @@ packages: react-dom: 16.14.0_react@16.14.0 dev: false - /rc-tabs/11.10.4_react-dom@16.14.0+react@16.14.0: - resolution: {integrity: sha512-FXihSD9DEF7G/C5iIHNon5jzIO66Two0aeB6uHCmSYibasCsnuBFslHXb9Pa4woqs+vVNjiKRgoDZfurwx1rzg==} - engines: {node: '>=8.x'} - peerDependencies: - react: '>=16.9.0' - react-dom: '>=16.9.0' - dependencies: - '@babel/runtime': 7.16.3 - classnames: 2.3.1 - rc-dropdown: 3.2.0_react-dom@16.14.0+react@16.14.0 - rc-menu: 9.0.14_react-dom@16.14.0+react@16.14.0 - rc-resize-observer: 1.1.1_react-dom@16.14.0+react@16.14.0 - rc-util: 5.16.0_react-dom@16.14.0+react@16.14.0 - react: 16.14.0 - react-dom: 16.14.0_react@16.14.0 - dev: false - /rc-textarea/0.3.5_react-dom@16.14.0+react@16.14.0: resolution: {integrity: sha512-qa+k5vDn9ct65qr+SgD2KwJ9Xz6P84lG2z+TDht/RBr71WnM/K61PqHUAcUyU6YqTJD26IXgjPuuhZR7HMw7eA==} peerDependencies: @@ -23450,21 +23256,6 @@ packages: react-dom: 16.14.0_react@16.14.0 dev: false - /rc-tree-select/4.7.0_react-dom@16.14.0+react@16.14.0: - resolution: {integrity: sha512-xcc2yPpQieTW6BcRkcKbT1dcAYCQ7ARtkoHlS9EsNdd6xgw9LA6rek6PMed8r/VRMfiKtWV4c4xijW5PI6s4Rw==} - peerDependencies: - react: '*' - react-dom: '*' - dependencies: - '@babel/runtime': 7.16.3 - classnames: 2.3.1 - rc-select: 13.1.1_react-dom@16.14.0+react@16.14.0 - rc-tree: 5.3.0_react-dom@16.14.0+react@16.14.0 - rc-util: 5.16.0_react-dom@16.14.0+react@16.14.0 - react: 16.14.0 - react-dom: 16.14.0_react@16.14.0 - dev: false - /rc-tree/4.2.2_react-dom@16.14.0+react@16.14.0: resolution: {integrity: sha512-V1hkJt092VrOVjNyfj5IYbZKRMHxWihZarvA5hPL/eqm7o2+0SNkeidFYm7LVVBrAKBpOpa0l8xt04uiqOd+6w==} engines: {node: '>=10.x'} @@ -23481,22 +23272,6 @@ packages: react-dom: 16.14.0_react@16.14.0 dev: false - /rc-tree/5.3.0_react-dom@16.14.0+react@16.14.0: - resolution: {integrity: sha512-A9GpRalG9sCsC+D3Dw9AB3a2gggf7KUT1FoCGGrbmCH1vsBYfTm3Z4RqEUrWtC7793HRccUTxqnENymkKS99lw==} - engines: {node: '>=10.x'} - peerDependencies: - react: '*' - react-dom: '*' - dependencies: - '@babel/runtime': 7.16.3 - classnames: 2.3.1 - rc-motion: 2.4.4_react-dom@16.14.0+react@16.14.0 - rc-util: 5.16.0_react-dom@16.14.0+react@16.14.0 - rc-virtual-list: 3.4.2_react-dom@16.14.0+react@16.14.0 - react: 16.14.0 - react-dom: 16.14.0_react@16.14.0 - dev: false - /rc-trigger/5.2.10_react-dom@16.14.0+react@16.14.0: resolution: {integrity: sha512-FkUf4H9BOFDaIwu42fvRycXMAvkttph9AlbCZXssZDVzz2L+QZ0ERvfB/4nX3ZFPh1Zd+uVGr1DEDeXxq4J1TA==} engines: {node: '>=8.x'} @@ -23539,19 +23314,6 @@ packages: shallowequal: 1.1.0 dev: false - /rc-util/5.16.0_react-dom@16.14.0+react@16.14.0: - resolution: {integrity: sha512-Pp3C9WMc7LvLy/V4BtkRZRENizrbQInvy61muxsIA7beC44D1G8w6hcKrcQ4ujeZA4qhvUT0jLgOok2OhxBTRQ==} - peerDependencies: - react: '>=16.9.0' - react-dom: '>=16.9.0' - dependencies: - '@babel/runtime': 7.16.3 - react: 16.14.0 - react-dom: 16.14.0_react@16.14.0 - react-is: 16.13.1 - shallowequal: 1.1.0 - dev: false - /rc-virtual-list/3.4.2_react-dom@16.14.0+react@16.14.0: resolution: {integrity: sha512-OyVrrPvvFcHvV0ssz5EDZ+7Rf5qLat/+mmujjchNw5FfbJWNDwkpQ99EcVE6+FtNRmX9wFa1LGNpZLUTvp/4GQ==} engines: {node: '>=8.x'} diff --git a/shell/app/modules/project/pages/backlog/backlog.tsx b/shell/app/modules/project/pages/backlog/backlog.tsx index 4941ebcb87..e568e7695c 100644 --- a/shell/app/modules/project/pages/backlog/backlog.tsx +++ b/shell/app/modules/project/pages/backlog/backlog.tsx @@ -12,23 +12,23 @@ // along with this program. If not, see . import React from 'react'; -import { isEmpty, map, unset, sortBy, indexOf } from 'lodash'; +import { indexOf, isEmpty, map, sortBy, unset } from 'lodash'; import { useDrop } from 'react-dnd'; -import { Button, Spin, Popconfirm, Pagination, Tooltip } from 'antd'; -import { Icon as CustomIcon, ContractiveFilter, ErdaIcon } from 'common'; +import { Button, Pagination, Popconfirm, Spin, Tooltip } from 'antd'; +import { ContractiveFilter, ErdaIcon, Icon as CustomIcon } from 'common'; import { useUpdate } from 'common/use-hooks'; import { useLoading } from 'core/stores/loading'; -import { WithAuth, usePerm } from 'user/common'; +import { usePerm, WithAuth } from 'user/common'; import iterationStore from 'project/stores/iteration'; import labelStore from 'project/stores/label'; import { useEffectOnce } from 'react-use'; import issueStore from 'project/stores/issues'; -import { IssueItem, IssueForm, BACKLOG_ISSUE_TYPE } from './issue-item'; +import { BACKLOG_ISSUE_TYPE, IssueForm, IssueItem } from './issue-item'; import EditIssueDrawer, { CloseDrawerParam } from 'project/common/components/issue/edit-issue-drawer'; -import { mergeSearch, qs, updateSearch, setApiWithOrg } from 'common/utils'; +import { mergeSearch, qs, setApiWithOrg, updateSearch } from 'common/utils'; import routeInfoStore from 'core/stores/route'; -import { ISSUE_PRIORITY_MAP, ISSUE_OPTION, ISSUE_TYPE_MAP } from 'project/common/components/issue/issue-config'; -import { ISSUE_ICON_MAP } from 'project/common/components/issue/issue-icon'; +import { ISSUE_OPTION, ISSUE_PRIORITY_MAP, ISSUE_TYPE_MAP } from 'project/common/components/issue/issue-config'; +import { ISSUE_TYPE_ICON_MAP } from 'project/common/components/issue/issue-icon'; import backlog_db_svg from 'app/images/backlog-db.svg'; import i18n from 'i18n'; import issueWorkflowStore from 'project/stores/issue-workflow'; @@ -89,7 +89,7 @@ const Backlog = () => { updater.filterState((prev: Obj) => ({ state: initState, ...prev })); const options = sortBy( map(collection, (stateArray, issueType) => { - const label = ISSUE_ICON_MAP[issueType]; + const label = ISSUE_TYPE_ICON_MAP[issueType]; return { label: ( diff --git a/shell/package.json b/shell/package.json index 92dec8a1c8..5fca3d39fe 100644 --- a/shell/package.json +++ b/shell/package.json @@ -47,7 +47,7 @@ "author": "Erda-FE", "license": "AGPL", "dependencies": { - "@erda-ui/dashboard-configurator": "2.0.4", + "@erda-ui/dashboard-configurator": "2.0.5", "@erda-ui/react-markdown-editor-lite": "^1.4.7", "@icon-park/react": "^1.3.3", "ace-builds": "^1.4.7",