feat: extended player profile
This commit is contained in:
parent
84c5c3fc9a
commit
6f1a7e5852
|
@ -56,7 +56,6 @@ interface UIConnector {
|
||||||
}
|
}
|
||||||
|
|
||||||
class UI {
|
class UI {
|
||||||
private static readonly TRIBE_CHANGES_LIMIT = 30;
|
|
||||||
constructor(
|
constructor(
|
||||||
private readonly player: Player,
|
private readonly player: Player,
|
||||||
private readonly connector: UIConnector
|
private readonly connector: UIConnector
|
||||||
|
@ -164,7 +163,7 @@ class UI {
|
||||||
accessor: (tc) => new Date(tc.createdAt).toLocaleString(),
|
accessor: (tc) => new Date(tc.createdAt).toLocaleString(),
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
2,
|
30,
|
||||||
(page: number, limit: number) => {
|
(page: number, limit: number) => {
|
||||||
return this.connector.tribeChanges(page, limit);
|
return this.connector.tribeChanges(page, limit);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue