mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-02-27 01:43:22 +00:00
Revert "Put back permalink fields on primary details panel"
This reverts commit d90ca538fb5b02e942842f1f9c1f44232f44027d.
This commit is contained in:
committed by
Rachel Arnould
parent
983e3e717b
commit
a007fdaab8
@@ -14,6 +14,8 @@
|
||||
%span{ style: "width: 30px; height: 30px;", class: "hidden", data: { "admin-only-target": "spinner" } }
|
||||
= render partial: "components/admin_spinner"
|
||||
|
||||
= render partial: 'admin/enterprises/form/permalink'
|
||||
|
||||
.row
|
||||
.three.columns.alpha
|
||||
= f.label :external_billing_id, t('.external_billing_id')
|
||||
|
||||
@@ -31,5 +31,3 @@
|
||||
.four.columns.omega
|
||||
= f.radio_button :visible, "hidden", 'ng-model' => 'Enterprise.visible'
|
||||
= f.label :visible, t('.hidden'), value: 'hidden'
|
||||
|
||||
= render partial: 'admin/enterprises/form/permalink'
|
||||
@@ -5,6 +5,7 @@ export default class extends Controller {
|
||||
static targets = ["spinner"];
|
||||
|
||||
enterpriseSellsChanged(event) {
|
||||
console.log("enterpriseSellsChanged");
|
||||
if (event.currentTarget.checked) {
|
||||
this.enterpriseSellsValue = event.currentTarget.value;
|
||||
this.spinnerTarget.classList.remove("hidden");
|
||||
|
||||
Reference in New Issue
Block a user