diff --git a/src/main/webui/src/app/components/content/common/StoreControlPanels.jsx b/src/main/webui/src/app/components/content/common/StoreControlPanels.jsx index 5c8dfea..69ebca6 100644 --- a/src/main/webui/src/app/components/content/common/StoreControlPanels.jsx +++ b/src/main/webui/src/app/components/content/common/StoreControlPanels.jsx @@ -19,8 +19,7 @@ import {useNavigate} from 'react-router-dom'; // import {Modal} from 'bootstrap'; import {PropTypes} from 'prop-types'; import {Utils} from '#utils/AppUtils'; -import {IndyRest, logErrors} from '#utils/RestClient'; -import {STORE_API_BASE_URL} from '../../ComponentConstants'; +import {IndyRest} from '#utils/RestClient'; import {ChangeLogDialog, ConfirmDialog} from './PopupDialogs.jsx'; const {storeRes} = IndyRest; diff --git a/src/main/webui/src/app/components/content/remote/RemoteEdit.jsx b/src/main/webui/src/app/components/content/remote/RemoteEdit.jsx index 9faa3ad..98184f0 100644 --- a/src/main/webui/src/app/components/content/remote/RemoteEdit.jsx +++ b/src/main/webui/src/app/components/content/remote/RemoteEdit.jsx @@ -105,7 +105,7 @@ export default function RemoteEdit() { // eslint-disable-next-line no-extra-parens storeView.useAuth = (storeView.useProxy && storeView.proxy_user) || storeView.user; // get Store disablement data - const timeoutRes = await disableRes.getStoreTimeout(store.packageType, store.type, store.name); + const timeoutRes = await disableRes.getStoreTimeout(packageType, "remote", name); const cloned = Utils.cloneObj(storeView); if (timeoutRes.success){ const timeout = timeoutRes.result; diff --git a/src/main/webui/src/app/components/content/remote/RemoteList.jsx b/src/main/webui/src/app/components/content/remote/RemoteList.jsx index 5cc6233..e05697f 100644 --- a/src/main/webui/src/app/components/content/remote/RemoteList.jsx +++ b/src/main/webui/src/app/components/content/remote/RemoteList.jsx @@ -18,7 +18,7 @@ import React, {useEffect, useState} from 'react'; import {useParams} from 'react-router-dom'; import {ListJsonDebugger} from '../common/Debugger.jsx'; import ListControl from "../common/ListControl.jsx"; -import {remoteOptionLegend as options, STORE_API_BASE_URL} from "../../ComponentConstants.js"; +import {remoteOptionLegend as options} from "../../ComponentConstants.js"; import {StoreListingWidget} from '../common/StoreListingWidget.jsx'; import {LoadingSpiner} from "../common/LoadingSpiner.jsx"; import {Utils} from '#utils/AppUtils.js';