1
0
Files
pawkey-sk/packages/frontend
dakkar 90e9480b92 fix offestMode in MkPagination - fixes #622
3f73251df5 reworked the way `offsetMode`
is handled, to allow reactive `ComputedRef<boolean>` in addition to a
simple `boolean`, so that custom emoji search could easily switch
between the faster `sinceId`/`untilId` pagination and the slower
`offset` as needed.

Or it would have, if I had written the correct expression! I wrote
`props.offsetMode` instead of `props.pagination.offsetMode`, so it was
always `false`

I have *no idea* how I didn't notice, I swear I tested it ☹

Anyway, factoring out the nested ternaries makes the whole thing
clearer and less prone to mistakes. And I have tested it, this time.
2024-08-16 14:41:04 +01:00
..
2024-02-13 15:59:27 +00:00
2024-03-11 15:32:59 +03:00
2024-02-13 15:59:27 +00:00
2024-06-15 11:36:55 +01:00