Show warning in assign modal for the last root area
Instead of hiding the assign UI, keep the button/menu item visible.
When the user opens the assign modal for the last root area, show a
GnAlert warning inside the modal explaining that it cannot be assigned.
The Assign button is hidden in this state; only Cancel (and Unassign if
applicable) remain. Backend guard in assignToArea stays as a fail-safe.
1 parent 6475c6f commit dca9d8b7ac1ade8a01b502f33c4a58f7328008e3
@Eugene Sukhodolskiy Eugene Sukhodolskiy authored 10 hours ago
Showing 1 changed file
View
webclient-vue/src/features/areas/pages/AreaDetailPage.vue