1
0
Fork 0
mirror of https://github.com/pawelmalak/flame.git synced 2025-08-01 17:05:18 +02:00

Preparation for custom sorting

This commit is contained in:
unknown 2021-06-17 10:56:27 +02:00
parent ce173f2c42
commit 8974fb3b49
7 changed files with 42 additions and 7 deletions

View file

@ -9,4 +9,21 @@
.TableAction:hover {
cursor: pointer;
}
.Message {
width: 100%;
display: flex;
justify-content: center;
align-items: baseline;
color: var(--color-primary);
margin-bottom: 20px;
}
.Message span {
color: var(--color-accent);
}
.Message span:hover {
cursor: pointer;
}

View file

@ -44,6 +44,7 @@ const Apps = (props: ComponentProps): JSX.Element => {
url: 'string',
icon: 'string',
isPinned: false,
orderId: 0,
id: 0,
createdAt: new Date(),
updatedAt: new Date()

View file

@ -5,6 +5,7 @@ export interface App extends Model {
url: string;
icon: string;
isPinned: boolean;
orderId: number;
}
export interface NewApp {

View file

@ -10,4 +10,5 @@ export interface SettingsForm {
pinAppsByDefault: number;
pinCategoriesByDefault: number;
hideHeader: number;
useOrdering: string;
}

View file

@ -18,7 +18,7 @@ export const searchConfig = (key: string, _default: any) => {
} else {
return pair.value;
}
} else {
return _default;
}
return _default;
}