From 1b85db959c3636360bc5eb4a07e9b33b41eec3ba Mon Sep 17 00:00:00 2001
From: Lukas Haase <lukas.haase@mni.thm.de>
Date: Mon, 4 May 2020 15:49:38 +0200
Subject: [PATCH] btn-wrp fix

---
 .../src/lib/components/content/menu/ButtonWrapper.directive.ts  | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/projects/ars/src/lib/components/content/menu/ButtonWrapper.directive.ts b/projects/ars/src/lib/components/content/menu/ButtonWrapper.directive.ts
index d6cdd57cf..3242973c2 100644
--- a/projects/ars/src/lib/components/content/menu/ButtonWrapper.directive.ts
+++ b/projects/ars/src/lib/components/content/menu/ButtonWrapper.directive.ts
@@ -57,7 +57,7 @@ export class ButtonWrapperDirective implements OnInit, AfterViewInit {
     // init padding for each button
     if (this.ft.isCol()) {
       this.btn.forEach(e => e.setPadding(this.xs / 2, this.xe / 2, 0, 0));
-      if (this.extraStart && this.extraEnd && this.btn.length == 1) {
+      if (this.extraStart && this.extraEnd && this.btn.length === 1) {
         this.btn.first.setPadding(this.xs, this.xe, 0, 0);
       } else {
         if (this.extraStart) {
-- 
GitLab