Skip to content

Commit 98a6022

Browse files
committed
staff as first
1 parent ee94147 commit 98a6022

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

src/ts/ytcf-logic.ts

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -375,6 +375,12 @@ export const getParsedV2Data = async (importedData: object | null = null): Promi
375375
actions: parsedMessageActions
376376
});
377377
}
378+
// if presets contains one with id "staff", move it to the front
379+
const staffPreset = presets.find(p => p.id === 'staff');
380+
if (staffPreset) {
381+
presets.splice(presets.indexOf(staffPreset), 1);
382+
presets.unshift(staffPreset);
383+
}
378384
return {
379385
presets,
380386
archives,

0 commit comments

Comments
 (0)