Skip to content

Commit

Permalink
fix: make ts happy
Browse files Browse the repository at this point in the history
  • Loading branch information
jiegec committed Mar 14, 2024
1 parent 1d6993b commit c9db568
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions frontend/src/pages/jobs/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -30,15 +30,15 @@
import axios from 'axios';
import { hostname } from '@/common';
interface SortBy {
interface SortItem {
key: string;
order: string;
order: 'asc' | 'desc';
}
interface LoadItemsOpts {
page: number;
itemsPerPage: number;
sortBy: SortBy[];
sortBy: SortItem[];
}
interface Job {
Expand All @@ -60,7 +60,7 @@
sortBy: [{
key: 'id',
order: 'desc'
}]
} as SortItem]
}),
methods: {
async loadItems (opts: LoadItemsOpts) {
Expand Down

0 comments on commit c9db568

Please sign in to comment.