Преглед изворни кода

Update Feedbacks.svelte

fix
silentoplayz пре 5 месеци
родитељ
комит
1366822f99
1 измењених фајлова са 0 додато и 4 уклоњено
  1. 0 4
      src/lib/components/admin/Evaluations/Feedbacks.svelte

+ 0 - 4
src/lib/components/admin/Evaluations/Feedbacks.svelte

@@ -92,10 +92,6 @@
 	};
 
 	const exportHandler = async () => {
-		if (feedbacks.length === 0) {
-			toast.info($i18n.t('No feedback available to export.'));
-			return;
-		}
 
 		const _feedbacks = await exportAllFeedbacks(localStorage.token).catch((err) => {
 			toast.error(err);