-
+
{!this.state.record.id && Add subscriber
}
{this.state.record.id && (
- {" "}
- {this.state.record.name} ({this.state.record.email})
-
+ {this.state.record.name} ({this.state.record.email})
+
ID {this.state.record.id} / UUID {this.state.record.uuid}
@@ -376,13 +377,13 @@ class Subscriber extends React.PureComponent {
)}
-
-
+
+
-
+ Export
@@ -398,20 +399,20 @@ class Subscriber extends React.PureComponent {
lists={this.props.data[cs.ModelLists].results}
wrappedComponentRef={r => {
if (!r) {
- return;
+ return
}
// Save the form's reference so that when this component
// is used as a modal, the invoker of the model can submit
// it via submitForm()
- this.setState({ formRef: r });
+ this.setState({ formRef: r })
}}
/>