File tree Expand file tree Collapse file tree 2 files changed +7
-1
lines changed
Expand file tree Collapse file tree 2 files changed +7
-1
lines changed Original file line number Diff line number Diff line change @@ -351,9 +351,14 @@ public function renderInteractionContextMenuButton(DatabaseObject $row): string
351351 */
352352 public function renderQuickInteractions (DatabaseObject $ row ): string
353353 {
354+ $ availableInteractions = \array_filter (
355+ $ this ->getQuickInteractions (),
356+ static fn ($ interaction ) => $ interaction ->isAvailable ($ row )
357+ );
358+
354359 return \implode ("\n" , \array_map (
355360 static fn ($ interaction ) => $ interaction ->render ($ row ),
356- $ this -> getQuickInteractions ()
361+ $ availableInteractions
357362 ));
358363 }
359364
Original file line number Diff line number Diff line change 170170 align-items : center ;
171171 display : flex ;
172172 gap : 10px ;
173+ justify-content : end ;
173174}
174175
175176.gridView__selectAllRows ,
You can’t perform that action at this time.
0 commit comments