mirror of
https://github.com/ilyakooo0/urbit.git
synced 2024-12-11 08:55:23 +03:00
Merge pull request #3232 from urbit/lf/publish-tags-fix
publish-js: account for missing group
This commit is contained in:
commit
59d6d4a30e
@ -179,7 +179,7 @@ export class Notebook extends Component {
|
|||||||
|
|
||||||
|
|
||||||
const group = props.groups[notebook?.['writers-group-path']];
|
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')
|
const subsComponent = (this.props.ship.slice(1) === window.ship) || (role === 'admin')
|
||||||
? (<Link to={subs} className={tabStyles.subscribers}>
|
? (<Link to={subs} className={tabStyles.subscribers}>
|
||||||
|
Loading…
Reference in New Issue
Block a user