fix : display Dashboard admin and items fields

This commit is contained in:
zeinab.ashrafi
2025-03-11 12:33:03 +03:30
parent a7f47f098a
commit e9f1e38e4f
8 changed files with 76 additions and 29 deletions
+10
View File
@@ -32,6 +32,16 @@ import { ApiService, TokenService } from '@/services'
// Sync store with router
sync(store, router)
//vue filter for string
Vue.filter('text_8_letter', function(value) {
if (!value) return '';
return value.slice(0, 8);
});
Vue.filter('text_20_letter', function(value) {
if (!value) return '';
return value.slice(0, 20);
});
Vue.config.productionTip = false
ApiService.setHeader();
// Set the base URL of the API