Skip to content

Commit 01ccb66

Browse files
committed
editor platform warning adjusted
1 parent 4879c29 commit 01ccb66

File tree

3 files changed

+10
-3
lines changed

3 files changed

+10
-3
lines changed

editor/src/pages/DataSourcesPage.vue

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -271,7 +271,8 @@ export default {
271271
} else {
272272
this.notifyDanger(
273273
'Invalid value',
274-
'Invalid value for platform was found in the YAML file and was removed.'
274+
'Invalid value for platform was found in the YAML file and was removed: ' +
275+
yaml_input.systems[i].platform[j]
275276
);
276277
}
277278
} else {

editor/src/pages/GroupsPage.vue

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -223,7 +223,10 @@ export default {
223223
if (Object.keys(this.getPlatformConversion(yaml_input.domain)).indexOf(p) >= 0) {
224224
valid_platforms.push(this.getPlatformConversion(yaml_input.domain)[p]);
225225
} else {
226-
this.notifyDanger('Invalid value', 'Invalid value for platform was found in the YAML file and was removed.');
226+
this.notifyDanger(
227+
'Invalid value',
228+
'Invalid value for platform was found in the YAML file and was removed: ' + yaml_input.platform[i]
229+
);
227230
}
228231
} else {
229232
valid_platforms.push(yaml_input.platform[i]);

editor/src/pages/TechniquesPage.vue

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -219,7 +219,10 @@ export default {
219219
if (Object.keys(this.getPlatformConversion(yaml_input.domain)).indexOf(p) >= 0) {
220220
valid_platforms.push(this.getPlatformConversion(yaml_input.domain)[p]);
221221
} else {
222-
this.notifyDanger('Invalid value', 'Invalid value for platform was found in the YAML file and was removed.');
222+
this.notifyDanger(
223+
'Invalid value',
224+
'Invalid value for platform was found in the YAML file and was removed: ' + yaml_input.platform[i]
225+
);
223226
}
224227
} else {
225228
valid_platforms.push(yaml_input.platform[i]);

0 commit comments

Comments
 (0)