From 3ce9c8e2e5d683fdddb52af888429f7b37bdd549 Mon Sep 17 00:00:00 2001 From: Dan Harrin Date: Wed, 22 Jan 2025 10:13:15 +0000 Subject: [PATCH] cs --- .../notifications/resources/js/components/notification.js | 5 +++-- packages/tables/src/Table/Concerns/HasColumns.php | 2 +- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/packages/notifications/resources/js/components/notification.js b/packages/notifications/resources/js/components/notification.js index 5c88557e2c..181c26943e 100644 --- a/packages/notifications/resources/js/components/notification.js +++ b/packages/notifications/resources/js/components/notification.js @@ -89,7 +89,8 @@ export default (Alpine) => { // Calling `el.getBoundingClientRect()` from outside `requestAnimationFrame()` can // occasionally cause the page to scroll to the top. requestAnimationFrame(() => { - const getTop = () => this.$el.getBoundingClientRect().top + const getTop = () => + this.$el.getBoundingClientRect().top const oldTop = getTop() respond(() => { @@ -105,7 +106,7 @@ export default (Alpine) => { oldTop - getTop() }px)`, }, - {transform: 'translateY(0px)'}, + { transform: 'translateY(0px)' }, ], { duration: this.transitionDuration, diff --git a/packages/tables/src/Table/Concerns/HasColumns.php b/packages/tables/src/Table/Concerns/HasColumns.php index fe234a9541..c3519ccdfa 100644 --- a/packages/tables/src/Table/Concerns/HasColumns.php +++ b/packages/tables/src/Table/Concerns/HasColumns.php @@ -146,7 +146,7 @@ trait HasColumns foreach ($this->getVisibleColumns() as $column) { $columnGroup = $column->getGroup(); - + if (! $columnGroup) { continue; }