akeshavan / mindlogger-app-admin-v2

0 stars 1 forks source link

Show only 1 "+" button if there are no screens on an activity #4

Open akeshavan opened 5 years ago

akeshavan commented 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).

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

akeshavan commented 5 years ago

also, show the sign pointing to the button at the top of the page rather than the bottom