Skip to content

Annoying: handle edge when deploying organisation 2nd is cancelled #19

@marsrobertson

Description

@marsrobertson

Simple solution: do not display in the UI.

This is the case when JSONIPFS is empty

    function addOrganisationToTheList(uint256 orgIndex, string memory organisationJSONIPFS) public payable {
        organisations[orgIndex].JSONIPFS = organisationJSONIPFS;
        klerosOrganisations.addItem{value: msg.value}(organisationJSONIPFS);

        emit OrganisationAddedToKleros(organisations[orgIndex].orgGuid, organisations[orgIndex].name, organisations[orgIndex].klerosAddress);
    }

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions