feat(#50): document & annotation comments #57
@@ -452,18 +452,20 @@ function zoomOut() {
|
|||||||
{/if}
|
{/if}
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
{#if activeAnnotationId}
|
{#key activeAnnotationId}
|
||||||
<AnnotationCommentPanel
|
{#if activeAnnotationId}
|
||||||
documentId={documentId}
|
<AnnotationCommentPanel
|
||||||
annotationId={activeAnnotationId}
|
documentId={documentId}
|
||||||
canComment={canComment ?? false}
|
annotationId={activeAnnotationId}
|
||||||
currentUserId={currentUserId ?? null}
|
canComment={canComment ?? false}
|
||||||
canAdmin={canAdmin ?? false}
|
currentUserId={currentUserId ?? null}
|
||||||
onClose={() => (activeAnnotationId = null)}
|
canAdmin={canAdmin ?? false}
|
||||||
onCountChange={(count) => {
|
onClose={() => (activeAnnotationId = null)}
|
||||||
if (activeAnnotationId) commentCounts.set(activeAnnotationId, count);
|
onCountChange={(count) => {
|
||||||
}}
|
if (activeAnnotationId) commentCounts.set(activeAnnotationId, count);
|
||||||
/>
|
}}
|
||||||
{/if}
|
/>
|
||||||
|
{/if}
|
||||||
|
{/key}
|
||||||
</div>
|
</div>
|
||||||
{/if}
|
{/if}
|
||||||
|
|||||||
Reference in New Issue
Block a user