fix: Flash of empty state on paginated lists (#3351)
* fix: Flash of empty state on paginated lists fix: Typing of PaginatedList to generic * test * test
This commit is contained in:
@@ -2,13 +2,17 @@ import { pick } from "lodash";
|
||||
import { set, computed, observable } from "mobx";
|
||||
import { getFieldsForModel } from "./decorators/Field";
|
||||
|
||||
export default class BaseModel {
|
||||
export default abstract class BaseModel {
|
||||
@observable
|
||||
id: string;
|
||||
|
||||
@observable
|
||||
isSaving: boolean;
|
||||
|
||||
createdAt: string;
|
||||
|
||||
updatedAt: string;
|
||||
|
||||
store: any;
|
||||
|
||||
constructor(fields: Record<string, any>, store: any) {
|
||||
|
||||
Reference in New Issue
Block a user