openvibers/openvibe.today Commits
The home says '1 channel', not '1 channels' (#79)
Changes
@@@ -160,7 +160,7 @@ function home({ upcoming = [], holidays = [], now = Date.now() } = {}) {proof: [{ value: live.length, label: 'live now' },{ value: upcoming.length, label: 'coming up' },-- { value: channels.size, label: 'channels' },++ { value: channels.size, label: channels.size === 1 ? 'channel' : 'channels' },].filter((p) => p.value),});// Real first (the owner, 10-31: empty sections made the rooms look unfinished): Coming up shows only with something in
@@ -160,7 +160,7 @@ function home({ upcoming = [], holidays = [], now = Date.now() } = {}) {
@@ -160,7 +160,7 @@ function home({ upcoming = [], holidays = [], now = Date.now() } = {}) {
proof: [
proof: [
{ value: live.length, label: 'live now' },
{ value: live.length, label: 'live now' },
{ value: upcoming.length, label: 'coming up' },
{ value: upcoming.length, label: 'coming up' },
- { value: channels.size, label: 'channels' },
+ { value: channels.size, label: channels.size === 1 ? 'channel' : 'channels' },
].filter((p) => p.value),
].filter((p) => p.value),
});
});
// Real first (the owner, 10-31: empty sections made the rooms look unfinished): Coming up shows only with something in
// Real first (the owner, 10-31: empty sections made the rooms look unfinished): Coming up shows only with something in