"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.discardEditLabelDropAnswer = discardEditLabelDropAnswer;
const LabelDropRepo_1 = require("../Entities/LabelDropRepo");
const EditLabelDropUC_1 = require("../UseCases/EditLabelDropUC");
function discardEditLabelDropAnswer(appObjects) {
    const labelDropEntity = LabelDropRepo_1.LabelDropRepo.get(appObjects);
    if (!labelDropEntity) {
        appObjects.submitWarning("discardEditLabelDropAnswer", "Unable to find LabelDropEntity");
        return;
    }
    const editUC = EditLabelDropUC_1.EditLabelDropUC.get(appObjects);
    if (!editUC) {
        appObjects.submitWarning("discardEditLabelDropAnswer", "Unable to find EditLabelDropUC");
        return;
    }
    editUC.discard();
}
//# sourceMappingURL=discardEditLabelDropAnswer.js.map