aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src/app/helpers/utils
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2023-06-29 15:55:00 +0200
committerChocobozzz <me@florianbigard.com>2023-07-10 16:08:28 +0200
commita1bd2b77d99cec5c27d38501f5f12f9dc339de17 (patch)
tree58b4666297e0b832a52f962541498af61319110a /client/src/app/helpers/utils
parent8ef866071f8109719e68647141d4c9e138438585 (diff)
downloadPeerTube-a1bd2b77d99cec5c27d38501f5f12f9dc339de17.tar.gz
PeerTube-a1bd2b77d99cec5c27d38501f5f12f9dc339de17.tar.zst
PeerTube-a1bd2b77d99cec5c27d38501f5f12f9dc339de17.zip
Remove webtorrent support from client
Diffstat (limited to 'client/src/app/helpers/utils')
-rw-r--r--client/src/app/helpers/utils/object.ts2
1 files changed, 2 insertions, 0 deletions
diff --git a/client/src/app/helpers/utils/object.ts b/client/src/app/helpers/utils/object.ts
index 69b2b18c0..b69e31edf 100644
--- a/client/src/app/helpers/utils/object.ts
+++ b/client/src/app/helpers/utils/object.ts
@@ -34,6 +34,8 @@ function toBoolean (value: any) {
34 34
35 if (value === 'true') return true 35 if (value === 'true') return true
36 if (value === 'false') return false 36 if (value === 'false') return false
37 if (value === '1') return true
38 if (value === '0') return false
37 39
38 return undefined 40 return undefined
39} 41}