From 5150e13121310678e4936848be9d94dcd023c7ea Mon Sep 17 00:00:00 2001 From: Andrew Bastin Date: Sun, 23 Aug 2020 21:24:32 -0400 Subject: [PATCH] Removed unused fieldString computed property in gql/field.vue --- components/graphql/field.vue | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/components/graphql/field.vue b/components/graphql/field.vue index 0b4502efb..2263802a5 100644 --- a/components/graphql/field.vue +++ b/components/graphql/field.vue @@ -57,16 +57,6 @@ export default { }, computed: { - fieldString() { - const args = (this.gqlField.args || []).reduce( - (acc, { name, type }, index) => - acc + `${name}: ${type.toString()}${index !== this.gqlField.args.length - 1 ? ", " : ""}`, - "" - ) - const argsString = args.length > 0 ? `(${args})` : "" - return `${this.gqlField.name}${argsString}: ${this.gqlField.type.toString()}` - }, - fieldName() { return this.gqlField.name },