Skip to content

Commit ef34443

Browse files
Added external id to rating scheme edit page
#6589
1 parent b2cf751 commit ef34443

1 file changed

Lines changed: 13 additions & 1 deletion

File tree

waltz-ng/client/system/svelte/ratings-schemes/SchemeEditor.svelte

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
return [d.name, d.description];
1212
}
1313
14-
let workingCopy = _.pick(scheme, ["id", "name", "description"]);
14+
let workingCopy = _.pick(scheme, ["id", "name", "externalId", "description"]);
1515
let savePromise = null;
1616
1717
$: invalid = _.some(getRequiredFields(workingCopy), v => _.isEmpty(v));
@@ -44,6 +44,18 @@
4444
Short name which describes this rating scheme
4545
</div>
4646

47+
<label for="external-id">
48+
External ID
49+
</label>
50+
<input class="form-control"
51+
id="external-id"
52+
placeholder="External ID"
53+
bind:value={workingCopy.externalId}>
54+
<div class="help-block">
55+
Optional external ID, typically used for integration with other systems.
56+
Be careful when changing this value, as it may break integrations.
57+
</div>
58+
4759
<!-- DESCRIPTION -->
4860
<label for="description">
4961
Description

0 commit comments

Comments
 (0)