Skip to content
This repository has been archived by the owner on Feb 13, 2025. It is now read-only.

MWPW-144868 Card Metadata Refinement #34

Merged
merged 1 commit into from
Mar 21, 2024
Merged

MWPW-144868 Card Metadata Refinement #34

merged 1 commit into from
Mar 21, 2024

Conversation

Brandon32
Copy link
Collaborator

@Brandon32 Brandon32 commented Mar 19, 2024

  • Blog Card Metadata Migration Refinement
  • Fix getBlockInfo for empty tables
  • Add pre-save validation
  • Update example project

Resolves: MWPW-144868


blockInfo.blockName = blockName.replace(/\s+/g, '-');
blockInfo.blockName = blockName ? blockName.replace(/\s+/g, '-') : '';
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Super nit:

Suggested change
blockInfo.blockName = blockName ? blockName.replace(/\s+/g, '-') : '';
blockInfo.blockName = blockName?.replace(/\s+/g, '-') || '';

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sounds good, thanks

@Brandon32 Brandon32 force-pushed the bmarshal/blog-caas branch 3 times, most recently from b3e0bba to fe470e0 Compare March 20, 2024 15:31
@Brandon32 Brandon32 force-pushed the bmarshal/blog-caas branch from fe470e0 to 9a0d3c4 Compare March 20, 2024 16:15
@Brandon32 Brandon32 merged commit d2547fe into main Mar 21, 2024
4 checks passed
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants