diff --git a/pkg/arvo/app/publish.hoon b/pkg/arvo/app/publish.hoon
index 678fb023f..d0ca7df53 100644
--- a/pkg/arvo/app/publish.hoon
+++ b/pkg/arvo/app/publish.hoon
@@ -722,6 +722,8 @@
|= who=@p
?. (allowed who %read u.book)
[%give %kick [/notebook/[u.book]]~ `who]~
+ ?: ?=(%remove -.upd)
+ ~
=/ uid (sham %publish who u.book eny.bol)
=/ inv=invite
:* our.bol %publish /notebook/[u.book] who
diff --git a/pkg/interface/publish/src/js/components/lib/dropdown.js b/pkg/interface/publish/src/js/components/lib/dropdown.js
new file mode 100644
index 000000000..4f12099a6
--- /dev/null
+++ b/pkg/interface/publish/src/js/components/lib/dropdown.js
@@ -0,0 +1,73 @@
+import React, { Component } from 'react';
+import { Link } from 'react-router-dom';
+
+export class Dropdown extends Component {
+ constructor(props) {
+ super(props);
+
+ this.toggleDropdown = this.toggleDropdown.bind(this);
+ this.handleClickOutside = this.handleClickOutside.bind(this);
+ this.collapseAndDispatch = this.collapseAndDispatch.bind(this);
+ this.state = {
+ open: false
+ }
+ }
+
+ componentDidMount() {
+ document.addEventListener('mousedown', this.handleClickOutside);
+ }
+
+ componentWillUnmount() {
+ document.removeEventListener('mousedown', this.handleClickOutside);
+ }
+
+ handleClickOutside(evt) {
+ if (this.optsList && !this.optsList.contains(evt.target) &&
+ this.optsButton && !this.optsButton.contains(evt.target)) {
+ this.setState({open: false});
+ }
+ }
+
+ toggleDropdown() {
+ this.setState({open: !this.state.open});
+ }
+
+ collapseAndDispatch(action){
+ this.setState({open: false}, action);
+ }
+
+ render() {
+ let display = (this.state.open)
+ ? "block" : "none";
+
+ let optionsColor = (this.state.open)
+ ? '#e6e6e6' : 'white';
+
+ let optionsList = this.props.options.map((val, i) => {
+ return (
+
+ );
+ });
+
+ return (
+
{this.optsButton = el}}>
+
+
{this.optsList = el}}
+ style={{right:0, width:this.props.width, display: display}}>
+ {optionsList}
+
+
+ )
+ }
+}
+
+export default Dropdown
diff --git a/pkg/interface/publish/src/js/components/lib/new-post.js b/pkg/interface/publish/src/js/components/lib/new-post.js
index e823cff30..e965599b5 100644
--- a/pkg/interface/publish/src/js/components/lib/new-post.js
+++ b/pkg/interface/publish/src/js/components/lib/new-post.js
@@ -89,8 +89,6 @@ export class NewPost extends Component {
let hiddenOnPopout = (props.popout)
? "" : "dib-m dib-l dib-xl";
- let submitButtonPadding = (props.sidebarShown && !props.popout)
- ? " pl8" : " pl4";
return (
@@ -100,7 +98,7 @@ export class NewPost extends Component {
popout={props.popout}
/>