diff options
| author | kaniini <nenolod@gmail.com> | 2018-08-31 04:04:44 +0000 |
|---|---|---|
| committer | kaniini <nenolod@gmail.com> | 2018-08-31 04:04:44 +0000 |
| commit | e71b0411aa122efec9de732262075396e159b35f (patch) | |
| tree | 58faffc62e96679c9d7873a6257ce2af36075f3e /src/components/status/status.js | |
| parent | 84aa1ecdcd9b7dce53761d84e99f0105a2093280 (diff) | |
| parent | d2640d4bb54c7f098e2fc91e9f09a8cb155c7767 (diff) | |
Merge branch 'post-button-labels' into 'develop'
Add labels to post buttons
See merge request pleroma/pleroma-fe!323
Diffstat (limited to 'src/components/status/status.js')
| -rw-r--r-- | src/components/status/status.js | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/components/status/status.js b/src/components/status/status.js index a6c49f7c..45f5ccac 100644 --- a/src/components/status/status.js +++ b/src/components/status/status.js @@ -282,6 +282,11 @@ const Status = { } } } + }, + filters: { + capitalize: function (str) { + return str.charAt(0).toUpperCase() + str.slice(1) + } } } |
