Skip to content
Snippets Groups Projects

#1183

Merged Audrey Hamelers requested to merge dev_k8s_config into dev_k8s
44 files
+ 999
266
Compare changes
  • Side-by-side
  • Inline
Files
44
import React from 'react'
import { omit } from 'lodash'
import { withTheme } from 'styled-components'
import { Button } from '@pubsweet/ui'
import { Portal, Buttons, CloseModal } from '../ui'
@@ -32,14 +31,7 @@ const MetaEdit = withTheme(
...props
}) => {
const { meta } = manuscript
const { fundingGroup: grants, releaseDelay, notes } = meta
const fundingGroup = grants
? grants.map(g => {
const n = omit(g, '__typename')
n.pi = omit(g.pi, '__typename')
return n
})
: []
const { fundingGroup = [], releaseDelay, notes } = meta
if (toEdit === 'dupes' && duplicates) {
return (