mirror of
https://github.com/wanderer-industries/wanderer
synced 2025-12-02 14:02:37 +00:00
* feat(Map): Added an ability to mark signature as EOL * chore: release version v1.39.1 * fix(Map): Add correct styles for switch * fix(Map): Refactor signatures code. Add ability to set EOL for signature marked as EOL * feat(Map): Added EOL status for unsplashed signatures. Show precise time for connection passages on hover. --------- Co-authored-by: achichenkov <aleksei.chichenkov@telleqt.ai>
10 lines
237 B
TypeScript
10 lines
237 B
TypeScript
import { SignatureCustomInfo } from '@/hooks/Mapper/types';
|
|
|
|
export const parseSignatureCustomInfo = (str: string | undefined): SignatureCustomInfo => {
|
|
if (str == null || str === '') {
|
|
return {};
|
|
}
|
|
|
|
return JSON.parse(str);
|
|
};
|