mirror of
https://github.com/mountain-loop/yaak.git
synced 2026-03-18 07:23:51 +01:00
Focus request/folder after creation
This commit is contained in:
@@ -7,7 +7,9 @@ import { jotaiStore } from '../lib/jotai';
|
||||
const requestUpdateKeyAtom = atom<Record<string, string>>({});
|
||||
|
||||
getCurrentWebviewWindow()
|
||||
.listen<ModelPayload>('upserted_model', ({ payload }) => {
|
||||
.listen<ModelPayload>('model_write', ({ payload }) => {
|
||||
if (payload.change.type !== 'upsert') return;
|
||||
|
||||
if (
|
||||
(payload.model.model === 'http_request' ||
|
||||
payload.model.model === 'grpc_request' ||
|
||||
|
||||
Reference in New Issue
Block a user