project/src/main/webapp/shared.js
/** Puts item back into pool if it was a preset */
Puts item back into pool if it was a preset
Puts item back into pool if it was a preset
async function addTagBackToPool(item, tagId) {
  const prefilledItems = await getPrefilledInformation(tagId);
  if (prefilledItems.includes(item)) {
    $(tagId + '-div > .prefilled-pool > .btn-group:contains("' + item + '")')
        .show();
  }
}
async function addTagBackToPool ( item , tagId ) { const prefilledItems = await getPrefilledInformation ( tagId ) ; if ( prefilledItems . includes ( item ) ) { $ ( tagId + '-div > .prefilled-pool > .btn-group:contains("' + item + '")' ) . show ( ) ; } }
Puts item back into pool if it was a preset
Puts item back into pool if it was a preset