Skip to content

Commit fed0979

Browse files
committed
style(personas): prettier on memory files
1 parent 20cac17 commit fed0979

2 files changed

Lines changed: 13 additions & 4 deletions

File tree

‎src/actions/tmgr/personaMemory.ts‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
import $axios from '@/plugins/axios';
21
import { t } from '@/i18n';
2+
import $axios from '@/plugins/axios';
33
import { requestCache } from '@/utils/requestCache';
44

55
export const MEMORY_TOPICS = [

‎src/pages/Settings/PersonaMemory.vue‎

Lines changed: 12 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,13 @@
113113
selfMemoryTooLong,
114114
} from '@/utils/personaMemory';
115115
import { byteLength } from '@/utils/personas';
116-
import { computed, defineComponent, onMounted, ref, type PropType } from 'vue';
116+
import {
117+
computed,
118+
defineComponent,
119+
onMounted,
120+
ref,
121+
type PropType,
122+
} from 'vue';
117123
118124
interface WorkspaceRef {
119125
id: number;
@@ -191,15 +197,18 @@
191197
).filter(
192198
(w) =>
193199
!w.is_local &&
194-
(!props.persona.workspace_id || w.id === props.persona.workspace_id),
200+
(!props.persona.workspace_id ||
201+
w.id === props.persona.workspace_id),
195202
);
196203
const collected: MemoryRow[] = [];
197204
const journal: RecentEntry[] = [];
198205
await Promise.all(
199206
workspaces.map(async (workspace) => {
200207
try {
201208
const grants = await listWorkspacePersonas(workspace.id);
202-
const grant = grants.find((g) => g.persona.id === props.persona.id);
209+
const grant = grants.find(
210+
(g) => g.persona.id === props.persona.id,
211+
);
203212
if (!grant || grant.blocked) return;
204213
const overview = await getWorkspaceMemoryOverview(workspace.id);
205214
const mine = overview.find(

0 commit comments

Comments
 (0)