* fix: prevent invalid calls to fetch label by publicId * fix: ensure query only runs when isEdit is true