Skip to content

Commit

Permalink
Put back permalink fields on primary details panel
Browse files Browse the repository at this point in the history
  • Loading branch information
pacodelaluna committed Dec 22, 2024
1 parent 46cfc6a commit d90ca53
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 3 deletions.
2 changes: 0 additions & 2 deletions app/views/admin/enterprises/form/_admin_only.html.haml
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,6 @@
%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')
Expand Down
2 changes: 2 additions & 0 deletions app/views/admin/enterprises/form/_primary_details.html.haml
Original file line number Diff line number Diff line change
Expand Up @@ -31,3 +31,5 @@
.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'
1 change: 0 additions & 1 deletion app/webpacker/controllers/admin_only_controller.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ 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");
Expand Down

0 comments on commit d90ca53

Please sign in to comment.