remove v-directives

This commit is contained in:
pa
2026-01-17 01:09:27 +09:00
committed by Natsumi
parent 043765dc8f
commit af12687264
34 changed files with 84 additions and 95 deletions
+14 -19
View File
@@ -91,16 +91,26 @@ const sortByLanguages = (rowA, rowB) =>
export const createColumns = ({
randomUserColours,
bulkUnfriendMode,
selectedFriends,
onToggleFriendSelection,
onConfirmDeleteFriend
}) => {
/** @type {import('@tanstack/vue-table').ColumnDef<any, any>[]} */
const cols = [];
if (bulkUnfriendMode?.value) {
cols.push({
cols.push(
{
id: 'leftSpacer',
header: () => null,
size: 20,
enableSorting: false,
enableResizing: false,
meta: {
thClass: 'p-0',
tdClass: 'p-0'
},
cell: () => null
},
{
id: 'bulkSelect',
header: () => null,
size: 55,
@@ -127,21 +137,6 @@ export const createColumns = ({
</div>
);
}
});
}
cols.push(
{
id: 'leftSpacer',
header: () => null,
size: 20,
enableSorting: false,
enableResizing: false,
meta: {
thClass: 'p-0',
tdClass: 'p-0'
},
cell: () => null
},
{
id: 'friendNumber',