Skip to content

Commit 318043e

Browse files
committed
chore(demo): update the view to remove duplicate properties
1 parent 5ff921b commit 318043e

File tree

1 file changed

+10
-10
lines changed

1 file changed

+10
-10
lines changed

projects/demo/src/app/app.component.html

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
</a>
66
<div class="demo-heading">
77
<div style="text-align: center; width: 100%">
8-
<img src="https://raw.githubusercontent.com/AhsanAyaz/ngx-device-detector/master/assets/logo.svg" width="200">
8+
<img src="https://raw.githubusercontent.com/AhsanAyaz/ngx-device-detector/master/assets/logo.svg" width="200" />
99
</div>
1010
<a href="https://github.com/ahsanayaz/ngx-device-detector">
1111
<h1 align="center" class="demo-heading-text">ngx-device-detector</h1>
@@ -19,16 +19,16 @@ <h1 align="center" class="demo-heading-text">ngx-device-detector</h1>
1919
<p align="center" class="badges">
2020
<a href="https://github.com/ahsanayaz/ngx-device-detector/actions/workflows/main.yml"
2121
><img
22-
src="https://github.com/ahsanayaz/ngx-device-detector/actions/workflows/main.yml/badge.svg"
23-
alt="build status"
22+
src="https://github.com/ahsanayaz/ngx-device-detector/actions/workflows/main.yml/badge.svg"
23+
alt="build status"
2424
/></a>
2525
<a href="https://www.npmjs.com/package/ngx-device-detector"
2626
><img src="https://img.shields.io/npm/v/ngx-device-detector.svg" alt="npm version"
2727
/></a>
2828
<a href="https://www.npmjs.com/package/ngx-device-detector"
2929
><img
30-
src="https://img.shields.io/github/stars/AhsanAyaz/ngx-device-detector.svg?style=social&label=Star&style=flat-square"
31-
alt="github stars"
30+
src="https://img.shields.io/github/stars/AhsanAyaz/ngx-device-detector.svg?style=social&label=Star&style=flat-square"
31+
alt="github stars"
3232
/></a>
3333
<a href="https://www.npmjs.com/package/ngx-device-detector"
3434
><img src="https://img.shields.io/npm/l/ngx-device-detector.svg?style=flat-square" alt="license"
@@ -74,12 +74,16 @@ <h4 class="text-center">Device Information</h4>
7474
<th>Property</th>
7575
<th>Value</th>
7676
</tr>
77-
@for (info of deviceInfo | keys : propsToShow; track info) {
77+
@for (info of deviceInfo | keys: propsToShow; track info) {
7878
<tr class="info-item w3-hover-blue">
7979
<td>{{ info.key }}</td>
8080
<td>{{ info.value }}</td>
8181
</tr>
8282
}
83+
<tr>
84+
<td>&nbsp;</td>
85+
<td>&nbsp;</td>
86+
</tr>
8387
<tr class="info-item w3-hover-blue">
8488
<td>isDesktop()</td>
8589
<td>{{ isDesktop }}</td>
@@ -92,10 +96,6 @@ <h4 class="text-center">Device Information</h4>
9296
<td>isTablet()</td>
9397
<td>{{ isTablet }}</td>
9498
</tr>
95-
<tr class="info-item w3-hover-blue">
96-
<td>isDesktopModeEnabled()</td>
97-
<td>{{ isDesktopMode }}</td>
98-
</tr>
9999
</table>
100100
</div>
101101
</div>

0 commit comments

Comments
 (0)