mirror of
https://git.meshkee.com/cssd/cssd-front.git
synced 2026-10-12 17:33:17 +03:30
fix : display Dashboard admin and items fields
This commit is contained in:
+10
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user