Skip to content

Commit

Permalink
Fix some lint error
Browse files Browse the repository at this point in the history
  • Loading branch information
ligangty committed Dec 18, 2023
1 parent 9deb53c commit 0687078
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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';
Expand Down

0 comments on commit 0687078

Please sign in to comment.