diff --git a/frontend/src/components/DataTable.vue b/frontend/src/components/DataTable.vue index 1b758b69b..6b1ccbecd 100644 --- a/frontend/src/components/DataTable.vue +++ b/frontend/src/components/DataTable.vue @@ -8,7 +8,9 @@ @@ -173,7 +175,6 @@ const onFieldSelect = (evt, fieldData) => { const onColumnFilter = (evt, filter) => { mutableDataList.value = filter.fn(evt.target.value, dataList.value); - console.log('Data list info: ', mutableDataList.value, ' vs ', dataList.value); if (mutableDataList.value === dataList.value) { mutableDataList.value = null; } diff --git a/frontend/src/views/admin/SubscriberPanelView.vue b/frontend/src/views/admin/SubscriberPanelView.vue index b48c6f6cd..2411ef849 100644 --- a/frontend/src/views/admin/SubscriberPanelView.vue +++ b/frontend/src/views/admin/SubscriberPanelView.vue @@ -108,7 +108,7 @@ const filteredSubscribers = computed(() => subscribers.value.map((subscriber) => }, wasInvited: { type: tableDataType.bool, - value: subscriber.invite, + value: Boolean(subscriber.invite), }, disable: { type: tableDataType.button, @@ -161,11 +161,11 @@ const filters = [ }, { name: 'Yes', - key: 'yes', + key: 'true', }, { name: 'No', - key: 'no', + key: 'false', }, ], /** @@ -178,7 +178,7 @@ const filters = [ if (selectedKey === 'all') { return mutableDataList; } - return mutableDataList.filter((data) => data.wasInvited.value.toLowerCase() === selectedKey); + return mutableDataList.filter((data) => data.wasInvited.value?.toString().toLowerCase() === selectedKey); }, }, ];