Open akeshavan opened 5 years ago
in EditActivity.vue, when you create a new activity there are initially 0 screens. We show all controls (addBefore, addaAfter, Delete, move) even though there is only 1 action you can do (add a new screen).
EditActivity.vue
all the 4 controls in https://github.com/akeshavan/mindlogger-app-admin-v2/blob/master/src/components/EditActivity.vue#L85 only need to show if there is more than 1 screen. If not, only show a "+" button
also, show the sign pointing to the button at the top of the page rather than the bottom
in
EditActivity.vue
, when you create a new activity there are initially 0 screens. We show all controls (addBefore, addaAfter, Delete, move) even though there is only 1 action you can do (add a new screen).all the 4 controls in https://github.com/akeshavan/mindlogger-app-admin-v2/blob/master/src/components/EditActivity.vue#L85 only need to show if there is more than 1 screen. If not, only show a "+" button