mirror of
https://github.com/Unleash/unleash.git
synced 2025-01-20 00:08:02 +01:00
parent
9526299b75
commit
58dc5724b9
@ -9,6 +9,7 @@ The latest version of this document is always available in
|
|||||||
|
|
||||||
## [Unreleased]
|
## [Unreleased]
|
||||||
- Move metrics poller to seperate class
|
- Move metrics poller to seperate class
|
||||||
|
- Bugfix: CreatedAt set when creating new toggle
|
||||||
|
|
||||||
## [3.0.0-alpha.6]
|
## [3.0.0-alpha.6]
|
||||||
- Bugfix: actions should always throw errors
|
- Bugfix: actions should always throw errors
|
||||||
|
@ -21,6 +21,8 @@ const prepare = (methods, dispatch) => {
|
|||||||
methods.onSubmit = input => e => {
|
methods.onSubmit = input => e => {
|
||||||
e.preventDefault();
|
e.preventDefault();
|
||||||
|
|
||||||
|
input.createdAt = new Date();
|
||||||
|
|
||||||
if (Array.isArray(input.strategies)) {
|
if (Array.isArray(input.strategies)) {
|
||||||
input.strategies.forEach(s => {
|
input.strategies.forEach(s => {
|
||||||
delete s.id;
|
delete s.id;
|
||||||
|
Loading…
Reference in New Issue
Block a user