@@ -257,9 +257,7 @@ function VendorListContent({
|
|||||||
onClick={() => {
|
onClick={() => {
|
||||||
createVendor({
|
createVendor({
|
||||||
variables: {
|
variables: {
|
||||||
connections: [
|
connections: [vendorsConnection.vendors.__id],
|
||||||
vendorsConnection.vendors.__id,
|
|
||||||
],
|
|
||||||
input: {
|
input: {
|
||||||
organizationId: data.currentOrganization.id,
|
organizationId: data.currentOrganization.id,
|
||||||
name: vendor.name,
|
name: vendor.name,
|
||||||
@@ -364,9 +362,7 @@ function VendorListContent({
|
|||||||
) {
|
) {
|
||||||
deleteVendor({
|
deleteVendor({
|
||||||
variables: {
|
variables: {
|
||||||
connections: [
|
connections: [vendorsConnection.vendors.__id],
|
||||||
vendorsConnection.vendors.__id
|
|
||||||
],
|
|
||||||
input: {
|
input: {
|
||||||
vendorId: vendor.id,
|
vendorId: vendor.id,
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user