Skip to content

Commit

Permalink
minor fix
Browse files Browse the repository at this point in the history
  • Loading branch information
hj940709 committed Oct 17, 2024
1 parent 62d1f55 commit 9c71cfe
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion client/components/GroupView/ImportStoryModal.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,8 @@ const ImportStoryModal = ({ open, setOpen, groupId }) => {
const group = groups.find(group => group.group_id === groupId)
const { groupName } = group

const options = groups.map(group => ({key: group.group_id, text: group.groupName, value: group.group_id}))
const options = groups.filter(group => group.group_id !== groupId).map(
group => ({key: group.group_id, text: group.groupName, value: group.group_id}))
const submitGroupImport = async () => {
// console.log(selectedGroups)
// console.log(message)
Expand Down

0 comments on commit 9c71cfe

Please sign in to comment.