mirror of
https://iceshrimp.dev/limepotato/jormungandr-bite.git
synced 2025-03-04 07:18:50 -07:00
MkPagination: move external array to props
This commit is contained in:
parent
2dfe46621b
commit
da663f5295
1 changed files with 1 additions and 2 deletions
|
@ -57,8 +57,6 @@ export type Paging<E extends keyof misskey.Endpoints = keyof misskey.Endpoints>
|
|||
reversed?: boolean;
|
||||
|
||||
offsetMode?: boolean;
|
||||
|
||||
externalItemArray?: Ref<Array<any>>;
|
||||
};
|
||||
|
||||
const SECOND_FETCH_LIMIT = 30;
|
||||
|
@ -68,6 +66,7 @@ const props = withDefaults(defineProps<{
|
|||
disableAutoLoad?: boolean;
|
||||
displayLimit?: number;
|
||||
reloadKey?: number;
|
||||
externalItemArray?: Ref<Array<any>>;
|
||||
}>(), {
|
||||
displayLimit: 30,
|
||||
});
|
||||
|
|
Loading…
Add table
Reference in a new issue