refactor: remove debug console logs from selection cell components and database migration table column change
This commit is contained in:
@@ -23,11 +23,11 @@ const CustomColumnSelectionCell = ({
|
||||
const { t } = useTranslation('task-list-table');
|
||||
|
||||
// Debug the selectionsList and value
|
||||
console.log('CustomColumnSelectionCell props:', {
|
||||
selectionsList,
|
||||
value,
|
||||
selectionsCount: selectionsList?.length || 0
|
||||
});
|
||||
// console.log('CustomColumnSelectionCell props:', {
|
||||
// selectionsList,
|
||||
// value,
|
||||
// selectionsCount: selectionsList?.length || 0
|
||||
// });
|
||||
|
||||
// Set initial selection based on value prop
|
||||
useEffect(() => {
|
||||
|
||||
@@ -854,10 +854,10 @@ const SelectionFieldCell: React.FC<{
|
||||
|
||||
useEffect(() => {
|
||||
if (!loggedInfo) {
|
||||
console.log('Selection column data:', {
|
||||
columnKey,
|
||||
selectionsList,
|
||||
});
|
||||
// console.log('Selection column data:', {
|
||||
// columnKey,
|
||||
// selectionsList,
|
||||
// });
|
||||
setLoggedInfo(true);
|
||||
}
|
||||
}, [columnKey, selectionsList, loggedInfo]);
|
||||
|
||||
Reference in New Issue
Block a user