@salesforcedevs/dw-components 1.28.2-action-link-3 → 1.28.2-action-link-removed
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -40,27 +40,18 @@
|
|
|
40
40
|
></dx-input>
|
|
41
41
|
</div>
|
|
42
42
|
<dx-grid columns={tileColumns} if:false={showEmptyState}>
|
|
43
|
-
<
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
lwc:else
|
|
56
|
-
key={item.id}
|
|
57
|
-
header={item.title}
|
|
58
|
-
body={item.description}
|
|
59
|
-
href={item.projectHref}
|
|
60
|
-
class="docs-card"
|
|
61
|
-
target={item.target}
|
|
62
|
-
></dx-card-docs>
|
|
63
|
-
</template>
|
|
43
|
+
<dx-card-docs
|
|
44
|
+
for:each={currentPageDocs}
|
|
45
|
+
for:item="item"
|
|
46
|
+
key={item.id}
|
|
47
|
+
header={item.title}
|
|
48
|
+
body={item.description}
|
|
49
|
+
href={item.projectHref}
|
|
50
|
+
class="docs-card"
|
|
51
|
+
target={item.target}
|
|
52
|
+
data-is-dita={item.isDita}
|
|
53
|
+
onclick={handleDitaCardClick}
|
|
54
|
+
></dx-card-docs>
|
|
64
55
|
</dx-grid>
|
|
65
56
|
<div class="pagination-container" if:false={showEmptyState}>
|
|
66
57
|
<dx-pagination
|
|
@@ -695,6 +695,10 @@ export default class DocsGrid extends LightningElement {
|
|
|
695
695
|
};
|
|
696
696
|
|
|
697
697
|
handleDitaCardClick(e: any) {
|
|
698
|
+
if (e?.currentTarget?.dataset?.isDita !== "true") {
|
|
699
|
+
return;
|
|
700
|
+
}
|
|
701
|
+
|
|
698
702
|
this.filteredItemsSelected = true;
|
|
699
703
|
this.selectedProductFilters?.forEach((filter) => {
|
|
700
704
|
track(document, "custEv_filterApplied", {
|