diff --git a/backend/internal/sink/oswriter/oswriter.go b/backend/internal/sink/oswriter/oswriter.go index 0719f6124..83567c4a9 100644 --- a/backend/internal/sink/oswriter/oswriter.go +++ b/backend/internal/sink/oswriter/oswriter.go @@ -46,7 +46,7 @@ func (w *Writer) open(fname string) (*os.File, error) { // mkdir if not exist pathTo := w.dir + filepath.Dir(fname) if _, err := os.Stat(pathTo); os.IsNotExist(err) { - os.MkdirAll(pathTo, 0644) + os.MkdirAll(pathTo, 0755) } file, err := os.OpenFile(w.dir+fname, os.O_WRONLY|os.O_CREATE|os.O_APPEND, 0644) diff --git a/frontend/app/components/Header/SettingsMenu/SettingsMenu.tsx b/frontend/app/components/Header/SettingsMenu/SettingsMenu.tsx index 1b4fa446d..a4ce1f26c 100644 --- a/frontend/app/components/Header/SettingsMenu/SettingsMenu.tsx +++ b/frontend/app/components/Header/SettingsMenu/SettingsMenu.tsx @@ -30,7 +30,7 @@ function SettingsMenu(props: RouteComponentProps) { }; return (
{isAdmin && ( diff --git a/frontend/app/components/Session_/GraphQL/GraphQL.js b/frontend/app/components/Session_/GraphQL/GraphQL.js index a5420584f..8c601dba1 100644 --- a/frontend/app/components/Session_/GraphQL/GraphQL.js +++ b/frontend/app/components/Session_/GraphQL/GraphQL.js @@ -81,12 +81,6 @@ export default class GraphQL extends React.PureComponent { const { list } = nextProps; if (nextProps.time) { const filtered = GraphQL.filterList(list, prevState.filter); - console.log({ - list, - filtered, - time: nextProps.time, - }); - let i = 0; filtered.forEach((item, index) => { if (item.time <= nextProps.time) { diff --git a/frontend/app/components/Session_/Issues/IssueForm.js b/frontend/app/components/Session_/Issues/IssueForm.js index b263739f3..757f5d206 100644 --- a/frontend/app/components/Session_/Issues/IssueForm.js +++ b/frontend/app/components/Session_/Issues/IssueForm.js @@ -1,6 +1,6 @@ import React from 'react'; import { connect } from 'react-redux'; -import { Form, Input, Button, CircularLoader } from 'UI'; +import { Form, Input, Button, CircularLoader, Loader } from 'UI'; //import { } from 'Duck/issues'; import { addActivity, init, edit, fetchAssignments, fetchMeta } from 'Duck/assignments'; import Select from 'Shared/Select'; @@ -57,8 +57,16 @@ class IssueForm extends React.PureComponent { writeOption = ({ name, value }) => this.props.edit({ [name]: value.value }); render() { - const { creating, projects, users, issueTypes, instance, closeHandler, metaLoading } = - this.props; + const { + creating, + projects, + users, + issueTypes, + instance, + closeHandler, + metaLoading, + projectsLoading, + } = this.props; const projectOptions = projects.map(({ name, id }) => ({ label: name, value: id })).toArray(); const userOptions = users.map(({ name, id }) => ({ label: name, value: id })).toArray(); @@ -68,93 +76,97 @@ class IssueForm extends React.PureComponent { const selectedIssueType = issueTypes.filter((issue) => issue.id == instance.issueType)[0]; + console.log('instance', instance); + return ( -
- - - - ) : ( - '' - ) - } - /> - + + + + + + ) : ( + '' + ) + } + /> + - - - + - - - - + + + + - - -