diff --git a/package.json b/package.json index a1d54ed3..347170cb 100644 --- a/package.json +++ b/package.json @@ -18,7 +18,7 @@ "emoji-picker-element": "^1.10.1", "formik": "./git-deps/formik/packages/formik", "git-rev-sync": "^3.0.2", - "golos-lib-js": "^0.9.75", + "golos-lib-js": "^0.9.76", "history": "4.10.1", "immutable": "^4.0.0", "koa": "^2.13.4", @@ -73,7 +73,7 @@ "scripts": { "preinstall": "node git-install.js", "cordova": "cordova", - "dev": "cross-env HTTPS=true react-app-rewired start", + "dev": "cross-env react-app-rewired start", "dev:server": "nodemon server", "build": "react-app-rewired build", "prod": "NODE_ENV=production node server/index.js", diff --git a/src/components/elements/messages/AuthorDropdown/index.jsx b/src/components/elements/messages/AuthorDropdown/index.jsx index b7253adf..10d04674 100644 --- a/src/components/elements/messages/AuthorDropdown/index.jsx +++ b/src/components/elements/messages/AuthorDropdown/index.jsx @@ -61,10 +61,12 @@ class AuthorDropdown extends React.Component { let banBtn if (isModer) { const isBanned = authorAcc && authorAcc.member_type === 'banned' + const isOwner = the_group && the_group.owner === author banBtn =