Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Import Notes filter fix and minor Preview updation
Fixes new_notes updation following title or content containing objects filtration by assigning result from .map() method back ot new_notes to update the imported data as per the notes data mapping done within it along with current timestamp selection or assigning a new one via Date .toLocaleString without 'new' constructor invoking as that resulted in local date and time string without any data on timezone which mismatched with existing timestamp strings captured in other parts of creation and updation of notes. Preview area below file selection under Import Notes Modal is set to italicize Preview label and use decodeURIComponent to decode any spacing and special characters back from their %-escape literals. Signed-off-by: Harshit Gupta <[email protected]>
- Loading branch information