diff options
| author | olekstomek <olekstomek@gmail.com> | 2021-07-24 18:57:16 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-07-24 09:57:16 -0700 |
| commit | 4550fad75e5f316a2c516b8c3421ad182ad4a47f (patch) | |
| tree | d1ca93e3268ddccd62bb91b68acea70b09b59ec9 | |
| parent | 12a4d590fbc498edd48719b355be127061dadfd2 (diff) | |
generated PDF has name WiFi Card with your network name (#102)
| -rw-r--r-- | src/components/Card.js | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/components/Card.js b/src/components/Card.js index fc3e4da..298f968 100644 --- a/src/components/Card.js +++ b/src/components/Card.js | |||
| @@ -39,6 +39,7 @@ export const Card = () => { | |||
| 39 | ) { | 39 | ) { |
| 40 | alert(t('wifi.alert.password.length.5')); | 40 | alert(t('wifi.alert.password.length.5')); |
| 41 | } else { | 41 | } else { |
| 42 | document.title = 'WiFi Card - ' + network.ssid; | ||
| 42 | window.print(); | 43 | window.print(); |
| 43 | } | 44 | } |
| 44 | } else { | 45 | } else { |
