Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix: Session admin's user story filter affects the filter of the members #734 #754

Open
wants to merge 9 commits into
base: main
Choose a base branch
from
Prev Previous commit
Next Next commit
fix: cleanup unused code
Dan1elBox committed May 24, 2024
commit 926a65711e2835d692607731a5d7be6d35710af1
12 changes: 0 additions & 12 deletions frontend/src/components/UserStories.vue
Original file line number Diff line number Diff line change
@@ -31,10 +31,6 @@
variant="primary"
:class="story.isActive ? 'selectedStory' : 'outlineColorStory'"
size="sm"
@click="
markUserStory(index);
$event.target.blur();
"
>
<b-img id="userStoryPicture" :src="require('@/assets/ActiveUserStory.png')" />
</b-button>
@@ -209,14 +205,6 @@ export default defineComponent({
publishChanges(index: number, remove: boolean) {
this.$emit("userStoriesChanged", { us: this.savedStories, idx: index, doRemove: remove });
},
markUserStory(index: number) {
const originalIndex = this.getOriginalIndex(index);
this.userStories = this.userStories.map((story, idx) => ({
...story,
isActive: idx === originalIndex,
}));
this.publishChanges(originalIndex, false);
},
},
});
</script>