-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
chore: show number units on inactive List if defined #3367
Conversation
@@ -21,6 +22,7 @@ export function formatSchemaDisplayValue( | |||
) { | |||
switch (field.type) { | |||
case "number": | |||
return field.data.units ? `${value} ${field.data.units}` : value; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is my only change !
Rest are formatting only, I guess prettier has changed with recent dependabot updates? Sorry for extra noise.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ah yep that makes sense - I'll open a pnpm lint:fix
PR to fix this in a oner and try to remember this next time there's a prettier update 👍
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
PR here - #3372
Removed vultr server and associated DNS entries |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Very nice spot! 🦅 👀
A small thing spotted during demo this morning!
Since many schemas are using a Number input to collect area, we should ensure the
m2
units is consistently displayed on both the active & inactive List when it's defined.