Added condition to check if number of images uploaded is greater than 0

This commit is contained in:
ashutosh.nehete 2025-07-07 11:25:41 +05:30
parent e97031c0e1
commit c88af2441f

View File

@ -94,10 +94,14 @@ export function startSignalR(loggedUser) {
}
if (data.keyword == "Task_Report") {
if(data.numberOfImages > 0){
eventBus.emit("image_gallery", data);
}
}
if (data.keyword == "Task_Comment") {
if(data.numberOfImages > 0){
eventBus.emit("image_gallery", data);
}
}
}
});