Fixed some date formatting for join date

This commit is contained in:
ajdj100
2024-05-26 11:43:46 -04:00
parent ec61da96d7
commit 40d8edd0a6

View File

@@ -122,11 +122,11 @@ export default {
</thead> </thead>
<tbody id="tableBody"> <tbody id="tableBody">
<tr v-for="(item, index) in filteredTable" <tr v-for="(item, index) in filteredTable"
v-on:click="$router.push({ path: `/profile/${item.member_name}/home` })"> v-on:click="$router.push({ path: `/profile/${item.id}/home` })">
<td>{{ item.name }}</td> <td>{{ item.name }}</td>
<td>{{ item.company }}</td> <td>{{ item.company }}</td>
<td>{{ item.rank.name }}</td> <td>{{ item.rank.name }}</td>
<td>{{ item.created_at }}</td> <td>{{ item.created_at.split('T')[0] }}</td>
<td>hello</td> <td>hello</td>
<td>hello</td> <td>hello</td>
</tr> </tr>