cosmetic: webui: Fix trailing whitespace

This commit is contained in:
Pau Espin 2023-10-11 17:59:09 +02:00 committed by Sukchan Lee
parent 77a624c899
commit 963df4beeb
1 changed files with 3 additions and 3 deletions

View File

@ -672,7 +672,7 @@ class Edit extends Component {
} }
getStateFromProps(props) { getStateFromProps(props) {
const { const {
action, action,
profiles, profiles,
width, width,
@ -741,7 +741,7 @@ class Edit extends Component {
getFormDataFromProfile(profile) { getFormDataFromProfile(profile) {
let formData; let formData;
formData = Object.assign({}, this.props.profiles.filter(p => p._id === profile)[0]); formData = Object.assign({}, this.props.profiles.filter(p => p._id === profile)[0]);
formData = Object.assign(formData, { profile }); formData = Object.assign(formData, { profile });
@ -807,7 +807,7 @@ class Edit extends Component {
} = this.state; } = this.state;
return ( return (
<Form <Form
visible={isLoading ? false : visible} visible={isLoading ? false : visible}
title={(action === 'update') ? 'Edit Subscriber' : 'Create Subscriber'} title={(action === 'update') ? 'Edit Subscriber' : 'Create Subscriber'}
schema={this.state.schema} schema={this.state.schema}