ui/components/admin

ui/components/admin

Methods

(static) descriptionPairs()

Source:

Users are currently defined in two steps: an initial create with only a few fields, then a subsequent $set
to add the remaining fields. Because of this two-step process for creating users, the descriptionPairs method
will be called twice, once with a "partial" user document followed by a call with the complete user document.
To prevent descriptionPairs from calling methods like CareerGoals.findNames with the undefined value due to
the "partial" user document, the existence of a "complete" user document is checked before constructing the array.

Source:

Returns a link element for opening URL in a new tab.

Parameters:
Name Type Description
url

The URL.

Returns:

The 'a' element for opening the URL in a new tab.

Type
string