Add a helper to output a value if it's truthy or nothing otherwise
This commit is contained in:
parent
d81d86ef47
commit
798e7441b4
1 changed files with 1 additions and 0 deletions
|
|
@ -9,5 +9,6 @@ export default {
|
|||
"rc-options": options,
|
||||
|
||||
// #region Simple
|
||||
"rc-ifOut": (v) => (v || ``),
|
||||
"rc-empty-state": (v) => v ?? localizer(`RipCrypt.common.empty`),
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue