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

Feat/copy laboratory #311

Merged
merged 2 commits into from
Oct 11, 2022
Merged

Feat/copy laboratory #311

merged 2 commits into from
Oct 11, 2022

Conversation

plumdumpling
Copy link
Collaborator

close #275

  • add option to create a copy of a laboratory

Bildschirmfoto 2022-10-07 um 12 55 26

@@ -385,10 +389,10 @@ export default Vue.extend({
computed: {
...(mapState as MapStateToComputed)('root', ['laboratories']),
laboratory(): Laboratory | null {
const id = this.laboratoryId || (this.$route.query.id as string) || null;
const id = this.laboratoryId || this.copiedLaboratoryId || null;
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice. This looks more understandable to me.

@plumdumpling plumdumpling merged commit 006bf62 into develop Oct 11, 2022
@plumdumpling plumdumpling deleted the feat/copy-laboratory branch October 11, 2022 12:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Small Improvements - 2
2 participants