We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7697c09 commit 64f7bf7Copy full SHA for 64f7bf7
rest_framework_docs/static/rest_framework_docs/js/components/request.js
@@ -35,6 +35,9 @@ var Request = React.createClass({
35
var endpoint = this.state.endpoint;
36
var fields = endpoint.fields;
37
38
+ // Check if field already exists
39
+ if (_.findWhere(fields, {'name': fieldName})) return;
40
+
41
fields.push({
42
name: fieldName,
43
required: false,
rest_framework_docs/static/rest_framework_docs/js/dist.js
@@ -33142,6 +33142,9 @@
33142
33143
33144
33145
33146
+ if (_.findWhere(fields, { 'name': fieldName })) return;
33147
33148
33149
33150
0 commit comments