mirror of
https://github.com/gitbutlerapp/gitbutler.git
synced 2024-12-25 10:33:21 +03:00
format & lint
This commit is contained in:
parent
108d903bda
commit
233c39579d
@ -279,7 +279,7 @@
|
||||
paletteMode = 'branch';
|
||||
if ($currentProject) {
|
||||
listBranches({ projectId: $currentProject.id }).then((refs) => {
|
||||
let branches = <Object[]>[];
|
||||
let branches: any[] = [];
|
||||
refs.forEach((b) => {
|
||||
branches.push({ text: b, icon: BranchIcon, command: 'switchBranch', context: b });
|
||||
});
|
||||
|
@ -34,7 +34,7 @@ export const listFiles = (params: { projectId: string; sessionId: string; paths?
|
||||
|
||||
const list = (params: { projectId: string }) => invoke<Session[]>('list_sessions', params);
|
||||
|
||||
export default async (params: { projectId: string, earliestTimestampMs?: number }) => {
|
||||
export default async (params: { projectId: string; earliestTimestampMs?: number }) => {
|
||||
const store = writable([] as Session[]);
|
||||
list(params).then((sessions) => {
|
||||
store.set(sessions);
|
||||
|
Loading…
Reference in New Issue
Block a user