Hide namespace dropdown and instead utilize existing namespace details for add-on purchases
- Pass the
current_namespace_idandcurrent_namespace_namesent from backend as props toAddonTransactionAppfrom init_addon_transaction.js. - Cleanup the code in addon_transaction_app.vue to remove the usage of
selectedNamespaceIdand instead use thecurrentNamespaceId. - Pass
currentNamespaceNameas a prop to purchase_details_card.vue. - In purchase_details_card.vue, replace the
GlFormGroupwithcurrentNamespaceName. - Add specs.
- Remove the redundant
namespacesdata passed from _add_on.html.haml.
Edited by Aman Luthra