mirror of
https://github.com/opensupports/opensupports.git
synced 2025-07-31 01:35:15 +02:00
[DEV-224] Error in edit topic icon color (#1143)
This commit is contained in:
parent
a264d384a1
commit
9cf71dcf66
@ -124,13 +124,15 @@ class TopicViewer extends React.Component {
|
||||
}
|
||||
|
||||
renderEditModal() {
|
||||
let props = {
|
||||
topicId: this.props.id,
|
||||
onChange: this.props.onChange,
|
||||
const {id, onChange, name, icon, iconColor} = this.props;
|
||||
|
||||
const props = {
|
||||
topicId: id,
|
||||
onChange,
|
||||
defaultValues: {
|
||||
title: this.props.name,
|
||||
icon: this.props.icon,
|
||||
iconColor: this.props.iconColor,
|
||||
title: name,
|
||||
icon,
|
||||
color: iconColor,
|
||||
private: this.props.private * 1
|
||||
}
|
||||
};
|
||||
|
Loading…
x
Reference in New Issue
Block a user