feat: Sharing improvements (#1388)
* add migrations * first pass at API * feat: Updated share dialog UI * tests * test * styling tweaks * feat: Show share state on document * fix: Allow publishing share links for draft docs * test: shares.info
This commit is contained in:
@ -18,6 +18,10 @@ class Tooltip extends React.Component<Props> {
|
||||
|
||||
let content = tooltip;
|
||||
|
||||
if (!tooltip) {
|
||||
return this.props.children;
|
||||
}
|
||||
|
||||
if (shortcut) {
|
||||
content = (
|
||||
<React.Fragment>
|
||||
|
Reference in New Issue
Block a user