@@ -26,7 +26,7 @@ async function exportHandler({ page, type }: ExportHandlerOptions) {
|
||||
if (editorRoot) {
|
||||
pageService = editorRoot.spec.getService<PageRootService>('affine:page');
|
||||
}
|
||||
track.$.header.share.export({
|
||||
track.$.sharePanel.$.export({
|
||||
type,
|
||||
});
|
||||
switch (type) {
|
||||
|
||||
@@ -68,7 +68,7 @@ export const useSharingUrl = ({
|
||||
.catch(err => {
|
||||
console.error(err);
|
||||
});
|
||||
track.$.header.share.copyShareLink({
|
||||
track.$.sharePanel.$.copyShareLink({
|
||||
type: urlType === 'share' ? 'public' : 'private',
|
||||
});
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user