Skip to content

Commit 054bac9

Browse files
committed
MORE-Platform#322: delete unnacessary copyright parts
1 parent faf0781 commit 054bac9

5 files changed

Lines changed: 3 additions & 31 deletions

File tree

src/components/GoalList.vue

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,3 @@
1-
/* Copyright LBI-DHP and/or licensed to LBI-DHP under one or more contributor
2-
license agreements (LBI-DHP: Ludwig Boltzmann Institute for Digital Health and
3-
Prevention -- A research institute of the Ludwig Boltzmann Gesellschaft,
4-
Oesterreichische Vereinigung zur Foerderung der wissenschaftlichen Forschung).
5-
Licensed under the Elastic License 2.0. */
61
<script setup lang="ts">
72
import { computed, ComputedRef, PropType, ref } from 'vue';
83
import {

src/components/dialog/shared/GroupingPropertyInput.vue

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,3 @@
1-
/* Copyright LBI-DHP and/or licensed to LBI-DHP under one or more contributor
2-
license agreements (LBI-DHP: Ludwig Boltzmann Institute for Digital Health and
3-
Prevention -- A research institute of the Ludwig Boltzmann Gesellschaft,
4-
Oesterreichische Vereinigung zur Foerderung der wissenschaftlichen Forschung).
5-
Licensed under the Elastic License 2.0. */
61
<script setup lang="ts">
72
import { GroupingProperty } from '../../../models/InputModels';
83
import { PropType } from 'vue';

src/components/dialog/shared/IntegerRangePropertyInput.vue

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,3 @@
1-
/* Copyright LBI-DHP and/or licensed to LBI-DHP under one or more contributor
2-
license agreements (LBI-DHP: Ludwig Boltzmann Institute for Digital Health and
3-
Prevention -- A research institute of the Ludwig Boltzmann Gesellschaft,
4-
Oesterreichische Vereinigung zur Foerderung der wissenschaftlichen Forschung).
5-
Licensed under the Elastic License 2.0. */
61
<script setup lang="ts">
72
import { IntegerRangeProperty } from '../../../models/InputModels';
83
import { PropType, watch, computed } from 'vue';

src/components/dialog/shared/StringTemplatePropertyInput.vue

Lines changed: 3 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,3 @@
1-
/* Copyright LBI-DHP and/or licensed to LBI-DHP under one or more contributor
2-
license agreements (LBI-DHP: Ludwig Boltzmann Institute for Digital Health and
3-
Prevention -- A research institute of the Ludwig Boltzmann Gesellschaft,
4-
Oesterreichische Vereinigung zur Foerderung der wissenschaftlichen Forschung).
5-
Licensed under the Elastic License 2.0. */
61
<script setup lang="ts">
72
import {
83
StringTemplateProperty,
@@ -83,11 +78,8 @@ Licensed under the Elastic License 2.0. */
8378
? val.upper
8479
: 0;
8580
86-
// Handle cases where only one value might be null but we got some data
8781
if (val.lower === null || val.upper === null) {
88-
// If we want the ID as placeholder when it's incomplete, we can return ID.
89-
// The user said "das gilt auch für die range elemente" referring to the placeholder ID logic.
90-
return `<${p.id}>`;
82+
return `<${p.id}>`;
9183
}
9284
9385
// Return a random value between min and max for the preview
@@ -102,16 +94,15 @@ Licensed under the Elastic License 2.0. */
10294
const renderedTemplate = computed(() => {
10395
let template = props.property.value || props.property.defaultValue || '';
10496
105-
// Handle optional blocks [ ... <var> ... ]
10697
// This is simple implementation, might need refinement for nested or complex ones
10798
template = template.replace(
10899
/\[([^\]]*<([^>]+)>[^\]]*)\]/g,
109100
(match, inner, varName) => {
110101
const p = getPropertyByIdOrName(varName);
111102
if (p && p.value !== undefined && p.value !== null && p.value !== '') {
112-
return inner; // Keep the block if variable is set
103+
return inner;
113104
}
114-
return ''; // Remove the block if variable is not set
105+
return '';
115106
},
116107
);
117108

src/components/subComponents/SchedulerInfoBlock.vue

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,4 @@
11
/* Copyright LBI-DHP and/or licensed to LBI-DHP under one or more contributor
2-
license agreements (LBI-DHP: Ludwig Boltzmann Institute for Digital Health and
3-
Prevention -- A research institute of the Ludwig Boltzmann Gesellschaft,
4-
Oesterreichische Vereinigung zur Foerderung der wissenschaftlichen Forschung).
5-
Licensed under the Elastic License 2.0. */
62
<script setup lang="ts">
73
import { PropType } from 'vue';
84
import {

0 commit comments

Comments
 (0)