You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The result is that if a week is deleted and it's not the last week, and then a new week is added, the new week may not be at the end of the timeline.
I think this can be handled client-side, by recalculating the order attribute of the weeks whenever a week is added. That way, when the timeline is saved with the new week, the updated order will get persisted to the server, without worrying about any additional server-side logic.
The text was updated successfully, but these errors were encountered:
The result is that if a week is deleted and it's not the last week, and then a new week is added, the new week may not be at the end of the timeline.
I think this can be handled client-side, by recalculating the
order
attribute of the weeks whenever a week is added. That way, when the timeline is saved with the new week, the updated order will get persisted to the server, without worrying about any additional server-side logic.The text was updated successfully, but these errors were encountered: