mirror of
https://github.com/mountain-loop/yaak.git
synced 2026-03-21 17:09:09 +01:00
PR feedback
This commit is contained in:
@@ -1,4 +1,10 @@
|
||||
import type { Folder, GrpcRequest, HttpRequest, WebsocketRequest, Workspace } from '@yaakapp-internal/models';
|
||||
import type {
|
||||
Folder,
|
||||
GrpcRequest,
|
||||
HttpRequest,
|
||||
WebsocketRequest,
|
||||
Workspace,
|
||||
} from '@yaakapp-internal/models';
|
||||
import { patchModel } from '@yaakapp-internal/models';
|
||||
import { useCallback } from 'react';
|
||||
import { openFolderSettings } from '../commands/openFolderSettings';
|
||||
@@ -121,7 +127,6 @@ export function HttpAuthenticationEditor({ model }: Props) {
|
||||
} else {
|
||||
disabled = '';
|
||||
}
|
||||
console.log('SETTING DISABLED', disabled);
|
||||
await handleChange({ ...model.authentication, disabled });
|
||||
}}
|
||||
/>
|
||||
@@ -178,7 +183,6 @@ function AuthenticationDisabledInput({
|
||||
template: value,
|
||||
enabled: true,
|
||||
purpose: 'preview',
|
||||
ignoreError: true,
|
||||
refreshKey: value,
|
||||
});
|
||||
|
||||
|
||||
@@ -81,6 +81,7 @@ export function SegmentedControl<T extends string>({
|
||||
return (
|
||||
<Button
|
||||
key={o.label}
|
||||
aria-checked={isActive}
|
||||
size={size}
|
||||
variant="solid"
|
||||
color={isActive ? 'secondary' : undefined}
|
||||
@@ -99,6 +100,7 @@ export function SegmentedControl<T extends string>({
|
||||
return (
|
||||
<IconButton
|
||||
key={o.label}
|
||||
aria-checked={isActive}
|
||||
size={size}
|
||||
variant="solid"
|
||||
color={isActive ? 'secondary' : undefined}
|
||||
|
||||
Reference in New Issue
Block a user