Commit ffa2f3e0 by Евгений

Вывел баллы

1 parent 477b8faf
......@@ -31,6 +31,7 @@ class TokensController extends Controller
'login' => $token->login,
'type' => $token->type,
'api' => $token->api,
'limit' => $token->limit,
];
}),
]);
......
......@@ -21,6 +21,7 @@
<tr class="text-left font-bold">
<th class="px-6 pt-6 pb-4">Login</th>
<th class="px-6 pt-6 pb-4">АПИ</th>
<th class="px-6 pt-6 pb-4">Баллы</th>
<th class="px-6 pt-6 pb-4" colspan="2">Тип</th>
</tr>
<tr v-for="token in tokens.data" :key="token.id" class="hover:bg-gray-100 focus-within:bg-gray-100">
......@@ -36,6 +37,11 @@
</td>
<td class="border-t">
<inertia-link class="px-6 py-4 flex items-center" :href="route('token.edit', token.id)" tabindex="-1">
{{ token.limit }}
</inertia-link>
</td>
<td class="border-t">
<inertia-link class="px-6 py-4 flex items-center" :href="route('token.edit', token.id)" tabindex="-1">
{{ types[token.type] }}
</inertia-link>
</td>
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!