Merge pull request #3232 from urbit/lf/publish-tags-fix

publish-js: account for missing group
This commit is contained in:
matildepark 2020-07-31 00:19:11 -04:00 committed by GitHub
commit 59d6d4a30e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -179,7 +179,7 @@ export class Notebook extends Component {
const group = props.groups[notebook?.['writers-group-path']];
const role = roleForShip(group, window.ship);
const role = group ? roleForShip(group, window.ship) : undefined;
const subsComponent = (this.props.ship.slice(1) === window.ship) || (role === 'admin')
? (<Link to={subs} className={tabStyles.subscribers}>