small fixes for document info references
This commit is contained in:
@@ -47,7 +47,7 @@ export class UmbDocumentWorkspaceViewInfoReferenceElement extends UmbLitElement
|
||||
async #getReferences() {
|
||||
const { data } = await this.#trackedReferenceRepository.requestTrackedReference(
|
||||
this.documentUnique,
|
||||
this._currentPage - 1 * this.#itemsPerPage,
|
||||
(this._currentPage - 1) * this.#itemsPerPage,
|
||||
this.#itemsPerPage,
|
||||
);
|
||||
if (!data) return;
|
||||
@@ -65,10 +65,9 @@ export class UmbDocumentWorkspaceViewInfoReferenceElement extends UmbLitElement
|
||||
|
||||
render() {
|
||||
if (this._items && this._items.length > 0) {
|
||||
return html`<strong>
|
||||
<umb-localize key="references_labelUsedByItems">Referenced by the following items</umb-localize>
|
||||
</strong>
|
||||
<uui-box style="--uui-box-default-padding:0">
|
||||
return html` <uui-box
|
||||
headline=${this.localize.term('references_labelUsedByItems')}
|
||||
style="--uui-box-default-padding:0">
|
||||
<uui-table>
|
||||
<uui-table-head>
|
||||
<uui-table-head-cell></uui-table-head-cell>
|
||||
|
||||
Reference in New Issue
Block a user