diff options
| author | Henry Jameson <me@hjkos.com> | 2020-12-16 18:43:38 +0200 |
|---|---|---|
| committer | Henry Jameson <me@hjkos.com> | 2020-12-16 18:43:38 +0200 |
| commit | 0cf06cb9ec2136630d5a2a183f48aa7975a14a71 (patch) | |
| tree | d8ee5d3c8710e57acf6ff1384d90e71161a95295 /src/components/features_panel/features_panel.js | |
| parent | 81bac9f8ac094df9a71a9c4f4427f11655362537 (diff) | |
| parent | 34c65e3bcf12c0f114ad657d8a67825a3b74388a (diff) | |
Merge remote-tracking branch 'origin/develop' into plain-bg
* origin/develop:
fix remote follow button style
Disable horizontal textarea resize
Add uk.json in messages.js
Display upload limit on the Features panel
use title html for poll options before vote
fix recent mistakes in react button
Diffstat (limited to 'src/components/features_panel/features_panel.js')
| -rw-r--r-- | src/components/features_panel/features_panel.js | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/components/features_panel/features_panel.js b/src/components/features_panel/features_panel.js index 620a85ea..8b142d08 100644 --- a/src/components/features_panel/features_panel.js +++ b/src/components/features_panel/features_panel.js @@ -1,3 +1,5 @@ +import fileSizeFormatService from '../../services/file_size_format/file_size_format.js' + const FeaturesPanel = { computed: { chat: function () { return this.$store.state.instance.chatAvailable }, @@ -6,7 +8,8 @@ const FeaturesPanel = { whoToFollow: function () { return this.$store.state.instance.suggestionsEnabled }, mediaProxy: function () { return this.$store.state.instance.mediaProxyAvailable }, minimalScopesMode: function () { return this.$store.state.instance.minimalScopesMode }, - textlimit: function () { return this.$store.state.instance.textlimit } + textlimit: function () { return this.$store.state.instance.textlimit }, + uploadlimit: function () { return fileSizeFormatService.fileSizeFormat(this.$store.state.instance.uploadlimit) } } } |
