@@ -43,8 +43,8 @@ public function query(): iterable
4343 ->paginate (),
4444 'metrics ' => [
4545 'used_keys_month ' => IdeaKey::where ('activated ' , 1 )->whereDate ('updated_at ' , '> ' , $ start )->count (),
46- 'unused_keys ' => IdeaKey::where ('activated ' , 0 )->count (),
47- 'used_keys ' => IdeaKey::where ('activated ' , 1 )->count (),
46+ 'unused_keys ' => IdeaKey::where ('activated ' , 0 )->count (),
47+ 'used_keys ' => IdeaKey::where ('activated ' , 1 )->count (),
4848 ],
4949 ];
5050 }
@@ -80,7 +80,7 @@ public function commandBar(): iterable
8080 ModalToggle::make ('Добавить ключи ' )
8181 ->modal ('addKeys ' )
8282 ->method ('addKeys ' )
83- ->icon ('file-earmark-arrow-up ' )
83+ ->icon ('file-earmark-arrow-up ' ),
8484 ];
8585 }
8686
@@ -105,7 +105,6 @@ public function layout(): iterable
105105 ]),
106106 ])->ratio ('80/20 ' ),
107107
108-
109108 Layout::table ('ideaRequests ' , $ this ->getIdeaRequestsTableColumns ()),
110109
111110 Layout::modal ('addKeys ' , Layout::rows ([
@@ -122,8 +121,9 @@ public function layout(): iterable
122121 /**
123122 * Get the columns for the idea requests table.
124123 *
125- * @return TD[]
126124 * @throws \ReflectionException
125+ *
126+ * @return TD[]
127127 */
128128 private function getIdeaRequestsTableColumns (): array
129129 {
0 commit comments