remove code

This commit is contained in:
Warunee Tamkoo 2023-10-26 12:20:12 +07:00
parent e365ed04bb
commit 99c4459145

View file

@ -23,18 +23,12 @@ const resetFilter = () => {
}
};
const dataStore = useDisciplineChannelDataStore();
const attrs = ref<any>(useAttrs());
const paging = ref<boolean>(true);
const pagination = ref({
// sortBy: "desc",
descending: false,
page: 1,
rowsPerPage: 10,
});
const paginationLabel = (start: string, end: string, total: string) => {
if (paging.value == true) return " " + start + "-" + end + " ใน " + total;
else return start + "-" + end + " ใน " + total;
};
const clickAdd = () => {
router.push(`/discipline/channel/add`);
@ -136,7 +130,6 @@ onMounted(() => {
row-key="id"
:filter="filterKeyword"
:visible-columns="dataStore.visibleColumns"
:pagination-label="paginationLabel"
v-model:pagination="pagination"
>
<template v-slot:header="props">