File tree Expand file tree Collapse file tree 1 file changed +3
-4
lines changed
src/routes/Plugin/McpServer Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Original file line number Diff line number Diff line change @@ -715,17 +715,16 @@ export default class McpServer extends Component {
715715 } ;
716716
717717 deleteSelector = ( record ) => {
718- const { dispatch, plugins, currentNamespaceId } = this . props ;
719- const { selectorPage, selectorPageSize, pluginName } = this . state ;
720- const pluginId = this . getPluginId ( plugins , pluginName ) ;
718+ const { dispatch, currentNamespaceId } = this . props ;
719+ const { selectorPage, selectorPageSize } = this . state ;
721720 dispatch ( {
722721 type : "common/deleteSelector" ,
723722 payload : {
724723 list : [ record . id ] ,
725724 namespaceId : currentNamespaceId ,
726725 } ,
727726 fetchValue : {
728- pluginId,
727+ pluginId : record ?. pluginId ,
729728 currentPage : selectorPage ,
730729 pageSize : selectorPageSize ,
731730 namespaceId : currentNamespaceId ,
You can’t perform that action at this time.
0 commit comments