external flag is not optional

This commit is contained in:
Eduard Heimbuch
2020-10-28 12:58:40 +01:00
parent a842f0f78c
commit baefc9f9a3
2 changed files with 2 additions and 2 deletions

View File

@@ -39,6 +39,6 @@ export type User = {
type?: string;
creationDate?: string;
lastModified?: string;
external?: boolean;
external: boolean;
_links: Links;
};

View File

@@ -186,7 +186,7 @@ class UserForm extends React.Component<Props, State> {
<Checkbox
label={t("user.externalFlag")}
onChange={this.handleExternalChange}
checked={!!user.external}
checked={user.external}
helpText={t("help.externalFlagHelpText")}
/>
</div>