mirror of
https://github.com/docmost/docmost.git
synced 2026-08-30 02:25:01 +08:00
open active
This commit is contained in:
@@ -71,7 +71,10 @@ export function PageShareModal({ readOnly }: PageShareModalProps) {
|
|||||||
) : null
|
) : null
|
||||||
}
|
}
|
||||||
variant="default"
|
variant="default"
|
||||||
onClick={open}
|
onClick={() => {
|
||||||
|
setActiveTab(isPubliclyShared ? "publish" : hasPagePermissions ? "access" : "publish");
|
||||||
|
open();
|
||||||
|
}}
|
||||||
>
|
>
|
||||||
{t("Share")}
|
{t("Share")}
|
||||||
</Button>
|
</Button>
|
||||||
|
|||||||
Reference in New Issue
Block a user