<reponame>glbala87/ELLA_tool<filename>src/webui/src/js/store/modules/views/workflows/modals/addReferences/signals/removeReference.js<gh_stars>0export default [
    ({ state, props }) => {
        const { refId } = props
        var userReferenceIds = state.get(`views.workflows.modals.addReferences.userReferenceIds`)
        userReferenceIds = userReferenceIds.filter((x) => x !== refId)
        state.set(`views.workflows.modals.addReferences.userReferenceIds`, userReferenceIds)
    }
]
