Skip to content

Commit

Permalink
fix update plugin (#517)
Browse files Browse the repository at this point in the history
  • Loading branch information
eye-gu authored Dec 30, 2024
1 parent 68f4dc8 commit 5aee5f9
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions src/routes/Plugin/Common/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,10 @@ import Selector from "./Selector";
import Rule from "./Rule";
import { getCurrentLocale, getIntlContent } from "../../../utils/IntlUtils";
import AuthButton from "../../../utils/AuthButton";
import { getUpdateModal } from "../../../utils/plugin";
import { updateNamespacePluginsEnabledByNamespace } from "../../../utils/namespacePlugin";
import {
getUpdateModal,
updateNamespacePluginsEnabledByNamespace,
} from "../../../utils/namespacePlugin";

const { Search } = Input;
const { Title } = Typography;
Expand Down Expand Up @@ -398,7 +400,8 @@ export default class Common extends Component {
: "";
const plugin = this.getPlugin(plugins, pluginName);
getUpdateModal({
pluginId: plugin.pluginId,
id: plugin.id,
namespaceId: plugin.namespaceId,
dispatch,
callback: (popup) => {
this.setState({ popup });
Expand Down

0 comments on commit 5aee5f9

Please sign in to comment.