From 14c1704ea144d66445b3fa0c50581886d73e50c4 Mon Sep 17 00:00:00 2001 From: Ekaterina Vaartis Date: Mon, 27 Aug 2018 12:51:30 +0300 Subject: Add titles to post visibility icons --- src/components/status/status.js | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/components/status/status.js') 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) + } } } -- cgit v1.2.3-70-g09d2