mirror of
https://github.com/plankanban/planka.git
synced 2025-12-26 09:15:01 +03:00
Change id generation algorithm, display notifications total on the main page
This commit is contained in:
@@ -1,3 +1,3 @@
|
||||
export const nextLocalId = (maxId = 0) => maxId + Date.now() / 10000000000000;
|
||||
export const createLocalId = () => `local:${Date.now()}`;
|
||||
|
||||
export const isLocalId = (id) => id % 1 !== 0;
|
||||
export const isLocalId = (id) => id.startsWith('local:');
|
||||
|
||||
Reference in New Issue
Block a user