mirror of
https://github.com/rommapp/romm.git
synced 2026-06-28 14:56:01 +00:00
fix type errors
This commit is contained in:
@@ -11,5 +11,7 @@ export type ClientTokenAdminSchema = {
|
||||
created_at: string;
|
||||
user_id: number;
|
||||
username: string;
|
||||
user_avatar_path: string;
|
||||
user_updated_at: string;
|
||||
};
|
||||
|
||||
|
||||
@@ -138,7 +138,7 @@ function updateOptions({ sortBy }: { sortBy: SortBy }) {
|
||||
} else {
|
||||
// Clear the `orderBy` key when the user removes
|
||||
// the sort column from the table
|
||||
romsStore.setOrderBy(null);
|
||||
romsStore.setOrderBy("");
|
||||
romsStore.setOrderDir("asc");
|
||||
}
|
||||
romsStore.fetchRoms();
|
||||
|
||||
Reference in New Issue
Block a user