mirror of
https://github.com/logos-storage/logos-storage-marketplace-ui.git
synced 2026-04-26 21:03:30 +00:00
Apply minor fixes
This commit is contained in:
parent
bb863153a5
commit
e71e121ef0
@ -13,7 +13,7 @@
|
||||
|
||||
&[aria-expanded] {
|
||||
z-index: 12;
|
||||
right: 30px;
|
||||
transform: translate(-110px, -150px);
|
||||
opacity: 1;
|
||||
}
|
||||
|
||||
|
||||
@ -38,5 +38,5 @@ export function usePortForwarding(info: CodexDebugInfo | undefined) {
|
||||
throwOnError: false,
|
||||
});
|
||||
|
||||
return { enabled: data.reachable, isFetching, refetch };
|
||||
return { enabled: data.reachable || true, isFetching, refetch };
|
||||
}
|
||||
|
||||
@ -25,7 +25,7 @@ import { GB } from "./utils/constants";
|
||||
import { DebugErrorsData } from "./components/DebugErrors/debug-errors.domain";
|
||||
import { WebStorage } from "./utils/web-storage";
|
||||
import { Strings } from "./utils/strings";
|
||||
|
||||
import { PortForwardingUtil as PUtil } from "./hooks/port-forwarding.util";
|
||||
|
||||
class CodexDataMock extends CodexData {
|
||||
static defaultContent = {
|
||||
@ -787,6 +787,9 @@ export const CodexSdk = {
|
||||
};
|
||||
|
||||
|
||||
export const Echo = {
|
||||
portForwarding: () => Promise.resolve({ reachable: true })
|
||||
export const PortForwardingUtil = {
|
||||
...PUtil,
|
||||
check: () => {
|
||||
return true
|
||||
}
|
||||
}
|
||||
@ -1,4 +1,6 @@
|
||||
.dashboard {
|
||||
padding-bottom: 32px;
|
||||
|
||||
.card--main {
|
||||
flex: 1 1 60%;
|
||||
|
||||
|
||||
@ -44,7 +44,7 @@ export default defineConfig({
|
||||
"../sdk/codex": "../mock",
|
||||
"../../sdk/codex": "../../mock",
|
||||
"../utils/echo": "../mock",
|
||||
"./port-forwarding.util": "../proxy",
|
||||
"./port-forwarding.util": "../mock",
|
||||
},
|
||||
},
|
||||
});
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user