diff --git a/EveryThing/Pages/Projects/Edit.cshtml b/EveryThing/Pages/Projects/Edit.cshtml index e44f58c..1f94ae0 100644 --- a/EveryThing/Pages/Projects/Edit.cshtml +++ b/EveryThing/Pages/Projects/Edit.cshtml @@ -821,7 +821,8 @@ //Skrijem vrstice povezanih dokumentov $(".invoice-row").each(function() { let idParts = $(this).attr('data-idparts').split(','); - if (idParts.includes(idProjectPart)) { + console.log(idParts); + if (idParts.includes(idProjectPart) || idParts.includes('0')) { $(this).show(); } else { $(this).hide();