diff --git a/packages/Webkul/Admin/src/DataGrids/Settings/TagDataGrid.php b/packages/Webkul/Admin/src/DataGrids/Settings/TagDataGrid.php
index 4a89f0ef7..81a6515b2 100644
--- a/packages/Webkul/Admin/src/DataGrids/Settings/TagDataGrid.php
+++ b/packages/Webkul/Admin/src/DataGrids/Settings/TagDataGrid.php
@@ -60,15 +60,6 @@ public function prepareColumns(): void
'sortable' => true,
'searchable' => true,
'filterable' => true,
- 'closure' => function ($row) {
- $color = $row->color ?? 'gray-500';
- $html = "
-
- {$row->name}
-
";
-
- return $html;
- },
]);
$this->addColumn([
diff --git a/packages/Webkul/Admin/src/Resources/views/settings/tags/index.blade.php b/packages/Webkul/Admin/src/Resources/views/settings/tags/index.blade.php
index aeab8be7e..2193683f6 100644
--- a/packages/Webkul/Admin/src/Resources/views/settings/tags/index.blade.php
+++ b/packages/Webkul/Admin/src/Resources/views/settings/tags/index.blade.php
@@ -91,19 +91,23 @@ class="icon-checkbox-outline peer-checked:icon-checkbox-select cursor-pointer ro
>
-
+
@{{ record.id }}
-
-
-
-
- {{-- @{{ record.name }}
--}}
+
+
+
+
+ @{{ record.name }}
+
-
+
@{{ record.user_name }}
-
+
@{{ record.created_at }}
@@ -181,95 +185,24 @@ class="cursor-pointer rounded-md p-1.5 text-2xl transition-all hover:bg-gray-200
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
{!! view_render_event('krayin.admin.settings.tags.index.content.after') !!}
@@ -300,6 +233,22 @@ class="primary-button justify-center"
data() {
return {
isProcessing: false,
+
+ colors: [
+ {
+ background: '#FEE2E2',
+ }, {
+ background: '#FFEDD5',
+ }, {
+ background: '#FEF3C7',
+ }, {
+ background: '#FEF9C3',
+ }, {
+ background: '#ECFCCB',
+ }, {
+ background: '#DCFCE7',
+ },
+ ],
};
},