u
This commit is contained in:
@@ -168,7 +168,7 @@ export default class ArticleViewBrand extends PureComponent {
|
||||
if (existing) {
|
||||
brandId = existing.id;
|
||||
} else {
|
||||
await brandAutomat.actions.upsert({ name });
|
||||
await brandAutomat.actions.create({ name });
|
||||
const nextBrands = await brandAutomat.actions.load();
|
||||
this.setState({ brands: nextBrands });
|
||||
brandId = nextBrands.find(
|
||||
|
||||
Reference in New Issue
Block a user