diff --git a/app/Presenters/StatusLabelPresenter.php b/app/Presenters/StatusLabelPresenter.php
index eac73d67ab..4b53225123 100644
--- a/app/Presenters/StatusLabelPresenter.php
+++ b/app/Presenters/StatusLabelPresenter.php
@@ -51,7 +51,7 @@ class StatusLabelPresenter extends Presenter
'switchable' => true,
'title' => trans('admin/statuslabels/table.color'),
'visible' => true,
- 'formatter' => 'colorSqFormatter',
+ 'formatter' => 'colorTagFormatter',
], [
'field' => 'show_in_nav',
'searchable' => false,
diff --git a/resources/views/partials/bootstrap-table.blade.php b/resources/views/partials/bootstrap-table.blade.php
index d8aab9efd4..d5bee14484 100644
--- a/resources/views/partials/bootstrap-table.blade.php
+++ b/resources/views/partials/bootstrap-table.blade.php
@@ -999,12 +999,7 @@
}
};
}
-
- function colorSqFormatter(value, row) {
- if (value) {
- return ' ' + value;
- }
- }
+
function colorTagFormatter(value, row) {
if (value) {
diff --git a/resources/views/statuslabels/index.blade.php b/resources/views/statuslabels/index.blade.php
index a06bdb9577..17e7a96599 100755
--- a/resources/views/statuslabels/index.blade.php
+++ b/resources/views/statuslabels/index.blade.php
@@ -77,11 +77,7 @@
@include ('partials.bootstrap-table')