{parents?.length > 0 && ( {t("changeset.parents.label", { count: parents?.length }) + ": "} {parents} )} {showCreateButton && ( setTagCreationModalVisible(true)} /> )} {isTagCreationModalVisible && ( setTagCreationModalVisible(false)} onCreated={() => { refetchChangeset?.(); setTagCreationModalVisible(false); }} onError={setError} tagCreationLink={(changeset._links["tag"] as Link).href} existingTagsLink={(repository._links["tags"] as Link).href} /> )}