Skip to content

Commit

Permalink
fixed medical issue
Browse files Browse the repository at this point in the history
  • Loading branch information
rhalf committed Aug 13, 2024
1 parent 2919330 commit a48f7bc
Show file tree
Hide file tree
Showing 8 changed files with 86 additions and 103 deletions.
130 changes: 65 additions & 65 deletions ibrvaats/.firebase/hosting.ZGlzdA.cache
Original file line number Diff line number Diff line change
@@ -1,66 +1,66 @@
favicon.ico,1695490688980,ed652d0df07e55a43201f46d54336b1cffdb9bd25023aee2bb09d497714069a9
index.html,1723529675809,5bfec0b4b996ed9504aedbf1a6a2c3d7089d4d0ca1c3f9c716bd77c2e1c1e81a
assets/Anchor-097754c0.js,1723529675801,0e0e49af3758ce0481deb65bff8360d835d2851c4e9cafa0afe9db6885fdb639
assets/Anchor-3289b66f.css,1723529675793,3399e84bf4036347937ac704e35b514306fc85489e64c2d6558498ac68ae9581
assets/Chip-5c524e7a.js,1723529675798,cd0b24d6592d73001893f61b72cbe17e68c92ed6fbc24827a74cf1f8d6bf13b0
assets/account-empty-2c1955c1.png,1723529675792,4bb0b5504cd36c1e39d2328d32723a5c058799b66663b2c35915757f7c822c42
assets/Counter-21aff766.js,1723529675802,5e8245da3f2abf01366054f079928c9e399dd6eeb35822dc9af6f73b61073208
assets/DashboardView-67c42401.js,1723529675798,3fbb79dc6a8a57382dd05a919abd36aa602a857730f2436b7a91d9ee471547e9
assets/DashboardView-99a56fe9.js,1723529675797,9ee6e202c04ed9696774b1a27b10f79d5a85ce158c072321e333fd3499ca3c44
assets/DashboardView-a9357f6a.js,1723529675802,0a21c8af1580a2555777102e07f239d095e7a31ee21cc540892ea67ebd125f89
assets/DashboardView-d82d27f3.js,1723529675797,9623c2d7ead191a3b997b7c847cefec1f327fe527e163c0861f8a92e578e41e6
assets/DatasSummary-615ba299.js,1723529675801,c883a186887ee62cd28ba48cd910d482bd333df9e26e740af75e4088319be15b
assets/DatasSummary-85d88801.js,1723529675802,a1b3722f8d76d75b097d8735d4e54d70a53f642f7ead456abce28a65d8686f3b
assets/DataTable-15a6f0d1.css,1723529675793,fb25eaeab9e6200f916e8af6feba47230f81c9cd5bece8d3f8e73b7176314798
assets/DialogAccidentDataRemove-f4bef5f0.js,1723529675798,cb4e71458c362682c0075ecf99a2d9ba7d8afa1971665bf96c9b11a35c18307d
assets/Date-f99e084c.css,1723529675792,460f914aa5a58c5af4f9624943dbc6b124fbd217c1cdc21b039a6e5f83faefe8
assets/DialogVehicleRemove-200fd8d9.js,1723529675802,6c304a23eb0de3a235f4db75a5baed6356778996edcdfc53b1ecd8d70cbf0702
assets/ForbiddenView-fae112ba.js,1723529675797,48270c2bcfdbdfc4e314a169a4cc8840d0fb51a310757c2cffd888e9919e018d
assets/DialogVehicleView-bfdb00ef.js,1723529675797,896c304ac5f939f6c55e2094395e7df3acdd574077bcc8b9c2f0dae6776f4501
assets/Date-99474ecb.js,1723529675809,b7fc7820d7eef35c2864bd63b096cb5c2f9ed814b1880043f35ec663d86331e5
assets/ForgotView-ef19603f.js,1723529675797,de839e6108c219447aeb79aa068284df0f33d9c5217840819108534a6f0bdf72
assets/FormUserView-3c1111d9.js,1723529675804,b5d9e2ab8cf04f7a19af8efdc44d38718b5ba5835eaf461bb4a9565c879f8587
assets/index-0db8d415.js,1723529675801,5708f48a0bc1e953a295f10f84db7e5f30da5571457bffee1217d2341721c294
assets/horizontal_1-7d59c8a2.png,1723529675792,828c9b61bcd599fd7a26469d7606da16d346285dd3b9c49ec8d4c4a0073f8a81
assets/index-fe48ef6d.js,1723529675797,818fe4bb0ad94974e9de6472ffe00c3f25e4db21c53c4be977a39e1f9ffc3a51
assets/LoginView-f7895777.js,1723529675797,7ec75321ba8726dda9ade49e351b3591bae07c265bdb9d084f5edbde69c95d73
assets/DataTable-688bf8de.js,1723529675809,e1ebc13de63ad69650fb65a7045bea10ddbfba579056fa52d7a6a387b7c70b34
assets/PasswordView-923b4adb.js,1723529675793,8821a82d09fca16fbe95d14396362367d78f1d69e8e5797a32dba60632fda654
assets/PoliceStationsSummary-549c0670.js,1723529675797,cefc64d63b23d98583312950a64507d9390b36288e9bc5a95eee96082e5fd4e9
assets/MedicalStationsSummary-bdf78296.js,1723529675797,c0b8ad9983b46daa88ea76c13272285e1ee7a8fbc14d9f9b4abe4bf1a8c2740a
assets/ProfileView-201524eb.css,1723529675792,e65e00ff53c2b7ba6e93de92ea0e33d9e455a6fe5c9f7dd7f7338bd231a5c0fe
assets/SearchView-6a4a6fb9.js,1723529675797,9732432c87c2034f01fee6717bedd5c9a3b13b17811d473e8bc00b83bf736059
assets/Select-1df6401f.js,1723529675797,f04948026fa8d8b5aff3afc56349a2ceacee27a40b8d5a7570c3ae92921e54a8
assets/SearchView-a1510b3e.js,1723529675801,394baf384821bb83cdce24649bdc10531a6b98486e3c487810c4e5da32520316
assets/ProfileView-4269df89.js,1723529675809,1b2e516e7aebe8e6b7ca07e804e7002aa7bfb09b3d4384a7353391fa7940bfc4
assets/SignupView-938ecf2e.js,1723529675802,a80ae24046f7357dfb6df0c3942cdd4566737caaae88de8ad1dd6b9c6db5e7cf
assets/UserPicker-00bcab44.css,1723529675793,0f78b42dc797296c33aefdad421a883ea6b7e09e0ce5ee0021c7f24010c352db
assets/UnitsSummary-b6bbd130.js,1723529675798,ee97d7868b67c84b1a39af743efd916b7557c5e4c9a729c4e5a9aed6ede3145e
assets/UserRolePicker-3642a75e.js,1723529675797,ff367db4759e0598d4be39a640d7487f4f4933c11b5bd326cf567868324e1bea
assets/account-empty-108dfca8.png,1723529675792,43b4feb2174637b8a95b9b3a5797ed3dce5d94ce4ce1f7ff316faa8eaa796487
assets/UsersSummary-392fc040.js,1723529675801,1eea6ca885d95588a3cfbacd19bc85ae7710a8065d40db53dc96b62fc674997f
assets/UserPicker-991498f5.js,1723529675805,8e310620dccc4697fc070560233c9c8376c6a47faa17c19d8658471b2acd7295
assets/UsersSummary-c7546a9c.js,1723529675804,3019f343274ffde0a337e31a7cff658f1d90f7e528a7b91fa21f626078e9e579
assets/UsersSummary-5393d16a.js,1723529675802,64748bb901d61996cf992d4c1e548b2556261e4a1b63dc93a724770c979f857a
assets/UsersView-b4c2eaf4.js,1723529675801,750b6b26feabbcd94001845d86a0a051837e149fdb3846534555effe5af78b31
assets/UsersView-0e3ffc39.js,1723529675797,750b6b26feabbcd94001845d86a0a051837e149fdb3846534555effe5af78b31
assets/VChip-0d09aaa2.css,1723529675793,95cd2f30c3805dcc8c64ad4479a29e1ee94672ae0bd22ab615bdf0ae0900671a
assets/UsersView-c77b109d.js,1723529675802,750b6b26feabbcd94001845d86a0a051837e149fdb3846534555effe5af78b31
assets/VContainer-28cdcaac.js,1723529675797,139c885f14418cabc9a203b15adfcba539de2d8b6d7128d2b8e49562835f6571
assets/VehiclesSummary-67f2d7f2.js,1723529675802,1e5ec5737e70d2724fc61f2ebd658ba2de02de6fd5cbf1d0db4fb9208a3290e4
assets/VChip-0fb2c7be.js,1723529675805,fc3fc6047bb8077390335103ff3f109fc5858cc78a1af291c141209013da223d
assets/VehiclesSummary-9358bc5c.js,1723529675801,1e5ec5737e70d2724fc61f2ebd658ba2de02de6fd5cbf1d0db4fb9208a3290e4
assets/VSelect-ee8490ba.css,1723529675793,7b06143b02100066c6d42569b02145e8e819fbcabad21433e2578b9c6bd649a1
assets/VSelect-fde321c4.js,1723529675809,97006c24a8da472dd5f6d102413fb45f4ead22b7af6ec0f44f82c36a9c9ac1a7
assets/webfontloader-05e2bde4.js,1723529675797,bb42602a30c3074d727973862c7fdcd5e082f77af18dc7359b2e1da80846e4bf
assets/vertical_1-c9b0872d.png,1723529675792,95eec868e38b75b37ebb09ed53cb87cf2f41ccb166c65bee458061ff5586f6d0
assets/solo-de8d7d10.png,1723529675792,b3ec51f5c838fc60cfec4cc802f9098b85ca7f02773252bcee8c4340584d080c
assets/solo-white-fc810c3a.png,1723529675792,7dd9a95d8f5cd5b70524174017de6d3eb718fb1f962cb8a3f175bba780987a43
assets/materialdesignicons-webfont-e52d60f6.woff2,1723529675792,4ad51d9651882f5503a7343beee7f338d25c2f25ca1bdb20900d5836fc77c11d
assets/index-1e155098.css,1723529675794,3f37cf9368ed163285ee5f108cf6751802d6a2770700bbeb0d7052bc8ec5322b
assets/index-a2ff7db5.js,1723529675810,ac3ee7aa3b573a9f9bb9cf375d089c90455373085e940932c38b3f47214c7754
assets/materialdesignicons-webfont-48d3eec6.woff,1723529675794,6b9f3825ec13140573a72149c061e4ae36716523eb37333229b7e55b7fe14479
assets/materialdesignicons-webfont-861aea05.eot,1723529675794,3e43e4454a62e823fc848126a3ccc7603696fdd1cca00cf43845cbff38b50831
assets/materialdesignicons-webfont-bd725a7a.ttf,1723529675794,e9534d51bdd55538081710d4f25707a206be026211c7805cc7a04d64fc727446
assets/FormAddress-20f669c0.js,1723529675805,96183bb9e5c1da4892174c1d52f3646e3f1cfe9be8a9f31b89c566309bf96779
assets/vehicles-d1fa8c0d.svg,1723529675799,528d453671d0468b60a70c677ea356c0082631525aa3d92c53d96f102ef6e232
index.html,1723532240909,506480d9226866286f2cc61a9eba23cab00f7370b4a0af811e38cd0556edc29a
assets/Anchor-3289b66f.css,1723532240892,3399e84bf4036347937ac704e35b514306fc85489e64c2d6558498ac68ae9581
assets/Anchor-c5969e0a.js,1723532240897,dfd7f64ab416415a6f643686fff2e17ad73c8e8036c6454ff66765ac33401236
assets/account-empty-2c1955c1.png,1723532240892,4bb0b5504cd36c1e39d2328d32723a5c058799b66663b2c35915757f7c822c42
assets/Chip-01d6bb2a.js,1723532240898,ab9a4e699ad6e9068bd1a4bff23929784569eee55de9e16685eee8351f8595d9
assets/Counter-15a22196.js,1723532240900,4a7f7b44a2c46fb9578ddcbfe883fa7697cd042ec598292ce2139a9755af531b
assets/DashboardView-0aaea3bb.js,1723532240902,21c6076ef260ef42a5b9d1d77915fc57384a471d6213dfebec16818b4477b4dd
assets/DashboardView-5e63803c.js,1723532240897,cacd066de442d498cebc22a8279457f5d02b2a878e6188249ce86c5329899fab
assets/DashboardView-6ecf6df0.js,1723532240898,b2d43c203c55b86519c3db6709904e942b0e03554173a3cd156a92b2e01d0e23
assets/DashboardView-97fb74f1.js,1723532240897,f7f79f4822f9fbd9d9c7e6a123ba7e821c3d7a1e6afbec87f373771fb288b3b6
assets/DatasSummary-99d8ca3d.js,1723532240902,7207d37282ede65d43fc5d4315d8c12fb12e4a7dc932d7becebb2eade521632b
assets/DatasSummary-00863855.js,1723532240898,c25c8ec429760338fb04b2e050d485324af246e5ecdeee7111cc772f1c2f65c9
assets/DataTable-15a6f0d1.css,1723532240892,fb25eaeab9e6200f916e8af6feba47230f81c9cd5bece8d3f8e73b7176314798
assets/DialogAccidentDataRemove-8d1c5828.js,1723532240899,1822c7bdf1c3a08d996802a8f8e4ec74dee4327e3123ae7c5cb217895659fd88
assets/Date-f99e084c.css,1723532240892,460f914aa5a58c5af4f9624943dbc6b124fbd217c1cdc21b039a6e5f83faefe8
assets/DialogVehicleRemove-441f872a.js,1723532240898,02df3c155010e913fa13a54c51a63bcd2d90157dccb09a83090ce0b910e2b863
assets/ForbiddenView-1cadfd85.js,1723532240897,8dcc33d6ef0b3aa125be301e9ec9420b0a72e226fe8e29cc8821845764a0a3c5
assets/DialogVehicleView-044239f3.js,1723532240898,4d830c95c3e7b8ae499bb7cf6050e844ffbce29d0a2a454c45f550f1c7bdea0f
assets/Date-f05515c7.js,1723532240909,7ba7cf58a73c3fb76aebcf59e1ec82eff337eecb37ee8c9bdc84bdb7b9f52d93
assets/ForgotView-835194eb.js,1723532240903,d8eb6098ef0501f659d48003ba212a04075750a81e5091f65deacd9267e4320e
assets/FormUserView-7354957f.js,1723532240898,aaf28f3cb150834bcf8b1766743c9b8bb1f21c8622905f18784e80e2bb4e85f7
assets/index-32dcee77.js,1723532240898,656279d95b1044e6fe9400a0686bc9a4edd3ecb6c1fada1f7a694bb10f60eeac
assets/horizontal_1-7d59c8a2.png,1723532240891,828c9b61bcd599fd7a26469d7606da16d346285dd3b9c49ec8d4c4a0073f8a81
assets/index-7d6659b6.js,1723532240898,b04f225f069886fc53d8c311a1717e9dbe7f70cb23cb1b5817abf2bb630e13ea
assets/LoginView-3b2562a1.js,1723532240902,e19387210d7c04e4a47a3413bc4753159fdd5c16a7b4062d690a2abc354af781
assets/DataTable-f1464804.js,1723532240910,97163f336a512a10693baf00df7ce0cdde3dc08cbdd7d9aadd4aed37ab6a8859
assets/MedicalStationsSummary-4e612719.js,1723532240897,3d4295e8adcc174813384a494a6a5fc203c4da36c4e6c21e7c54cefe902ee326
assets/PasswordView-aa41d59a.js,1723532240892,42aff023a245c227b7fd3c9ada3f5204d85b4135d69cdf63cf18f4fff50faf83
assets/ProfileView-201524eb.css,1723532240892,e65e00ff53c2b7ba6e93de92ea0e33d9e455a6fe5c9f7dd7f7338bd231a5c0fe
assets/PoliceStationsSummary-a3b647b1.js,1723532240902,a2107489589651b22cbc580ba2969174e7f0ed29bb1e6b374aec6c1b53f737c6
assets/SearchView-116cbf4f.js,1723532240902,b1fae642a824861c80688ea0120d377648ebbb2364a092362a2ea435fe9cadfb
assets/SearchView-61196afb.js,1723532240902,b040c77555fbc04dc34d258dc6809e58fb9c9e1a78d16362168c9a4952c4542c
assets/ProfileView-d15066c0.js,1723532240909,ff74dab41f1cffbd1b8c69d042a218c88c5a1ebae6058e28e48462e61952eeda
assets/SignupView-a5eca9a3.js,1723532240902,b832f3c90f4ad5bb89c6ecf335bceb0573a7a0b8662044bdadd41e4cce5e501f
assets/Select-390e8787.js,1723532240902,c3c9e64890c3083cf573baf19dc3ba5b4b70b9dd81574379782dce202dbef9ef
assets/UserPicker-00bcab44.css,1723532240892,0f78b42dc797296c33aefdad421a883ea6b7e09e0ce5ee0021c7f24010c352db
assets/UnitsSummary-decc780c.js,1723532240902,e1e772ebd2cc36e43ae75a99360bff8d0b29f923173dab7063993329ef68b024
assets/UserRolePicker-89e1e82f.js,1723532240902,4882596f55af0ad3ed8606cb5cb1195bdfe6bca6919f93c34b936a1d00d8e8ce
assets/UsersSummary-748714a5.js,1723532240904,0359f194c2150047ab772a39ddbbe478608cd2ab4266b692f38b953764876792
assets/UserPicker-a0b609e2.js,1723532240905,9b44d8a5967f1f1876cd898c1097a10693d5858ecadac491a547bcb7d312a602
assets/account-empty-108dfca8.png,1723532240891,43b4feb2174637b8a95b9b3a5797ed3dce5d94ce4ce1f7ff316faa8eaa796487
assets/UsersView-5bbf3da4.js,1723532240898,3e80bed134ff90cde35197296b6a4a2cd3070438237a61ebcc2f8b10af459adb
assets/UsersSummary-aeec5cf2.js,1723532240902,b9d0fca4a1f04af4b30afa733547f0320ea0a66b05f1314b3be334c4c1eaa8fb
assets/UsersView-ce85e23f.js,1723532240899,3e80bed134ff90cde35197296b6a4a2cd3070438237a61ebcc2f8b10af459adb
assets/UsersSummary-e12ba61a.js,1723532240904,a69eacedcced718f8c00d3e9720f79098142c1dd1e60b409b26849feb36bfe6c
assets/UsersView-f5fadd93.js,1723532240898,3e80bed134ff90cde35197296b6a4a2cd3070438237a61ebcc2f8b10af459adb
assets/VChip-0d09aaa2.css,1723532240892,95cd2f30c3805dcc8c64ad4479a29e1ee94672ae0bd22ab615bdf0ae0900671a
assets/VChip-a3749d2a.js,1723532240905,658213ad1c1c2e46f148300297a16b79793f06d02688fde15f82271c4f842d6b
assets/VContainer-1d9098fa.js,1723532240899,b13b96082d9cb5399a501db654c55d2a8481498f310f2ae1229050fff8faeff4
assets/VehiclesSummary-3d962ff2.js,1723532240902,072a7425c1014f6180d568755e0d66ea45dd7a5246f116c7fbbc5cb1a9151b42
assets/VehiclesSummary-c4293093.js,1723532240902,072a7425c1014f6180d568755e0d66ea45dd7a5246f116c7fbbc5cb1a9151b42
assets/VSelect-5127e191.js,1723532240909,7518d3b8c687f337c7c89fcbd5873d4737eb72d11c193dc01c1c063668d40b07
assets/VSelect-ee8490ba.css,1723532240892,7b06143b02100066c6d42569b02145e8e819fbcabad21433e2578b9c6bd649a1
assets/webfontloader-62f80fe4.js,1723532240902,331e7fcf54144490bd5e76cc69c8ad3f7f3e4a81129f502a08dca95cccdaeae8
assets/vertical_1-c9b0872d.png,1723532240891,95eec868e38b75b37ebb09ed53cb87cf2f41ccb166c65bee458061ff5586f6d0
assets/solo-de8d7d10.png,1723532240892,b3ec51f5c838fc60cfec4cc802f9098b85ca7f02773252bcee8c4340584d080c
assets/solo-white-fc810c3a.png,1723532240891,7dd9a95d8f5cd5b70524174017de6d3eb718fb1f962cb8a3f175bba780987a43
assets/materialdesignicons-webfont-e52d60f6.woff2,1723532240892,4ad51d9651882f5503a7343beee7f338d25c2f25ca1bdb20900d5836fc77c11d
assets/index-1e155098.css,1723532240893,3f37cf9368ed163285ee5f108cf6751802d6a2770700bbeb0d7052bc8ec5322b
assets/index-edb0516f.js,1723532240910,8c0a74ac7c5145338f353ea4b35f163fb723542029cf6255cecd5bab136b0640
assets/materialdesignicons-webfont-48d3eec6.woff,1723532240893,6b9f3825ec13140573a72149c061e4ae36716523eb37333229b7e55b7fe14479
assets/materialdesignicons-webfont-861aea05.eot,1723532240894,3e43e4454a62e823fc848126a3ccc7603696fdd1cca00cf43845cbff38b50831
assets/materialdesignicons-webfont-bd725a7a.ttf,1723532240895,e9534d51bdd55538081710d4f25707a206be026211c7805cc7a04d64fc727446
assets/FormAddress-409a4054.js,1723532240905,9231f93055c4d59872f5b2a0160412b478712c7756a76d54aa5469e0055c3dd3
assets/vehicles-d1fa8c0d.svg,1723532240900,528d453671d0468b60a70c677ea356c0082631525aa3d92c53d96f102ef6e232
34 changes: 17 additions & 17 deletions ibrvaats/src/layouts/medical-stations/MedicalStationLayout.vue
Original file line number Diff line number Diff line change
Expand Up @@ -43,25 +43,25 @@ const withDrawer = computed(() => {
return !!route.params.medicalStationId;
});
// watchEffect(async () => {
// try {
// if (!user.value) return;
watchEffect(async () => {
try {
if (!user.value) return;
// start();
start();
// const { roles } = user.value;
// const { authorization } = route.meta;
const { roles } = user.value;
const { authorization } = route.meta;
// if (route.params.medicalStationId)
// medicalStation.value = await get(route.params.medicalStationId);
if (route.params.medicalStationId)
medicalStation.value = await get(route.params.medicalStationId);
// if (roles.includes(authorization) || roles.includes(ADMIN))
// console.log("ALLOWED");
// else router.push({ name: "ForbiddenView" });
// } catch ({ message }) {
// show("error", message);
// } finally {
// stop();
// }
// });
if (roles.includes(authorization) || roles.includes(ADMIN))
console.log("ALLOWED");
else router.push({ name: "ForbiddenView" });
} catch ({ message }) {
show("error", message);
} finally {
stop();
}
});
</script>
16 changes: 2 additions & 14 deletions ibrvaats/src/layouts/medical-stations/components/sidebar/data.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,24 +3,12 @@ export const items = [
icon: "mdi-view-dashboard",
title: "Dashboard",
subtitle: "Dashboard View",
to: { name: "MedicalStationDashboard" },
to: { name: "MedicalStationDashboard", params: null },
},
// {
// icon: "mdi-account-group",
// title: "Users",
// subtitle: "Manage Users",
// to: { name: "MedicalStationUsersSummary" },
// },
// {
// icon: "mdi-access-point",
// title: "Units",
// subtitle: "Manage Units",
// to: { name: "MedicalStationUnitsSummary" },
// },
{
icon: "mdi-database",
title: "Accident Data",
subtitle: "Manage Accident Data",
to: { name: "MedicalStationDatasSummary" },
to: { name: "MedicalStationDatasSummary", params: null },
},
];
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,6 @@ const loadCounters = async () => {
};
watchEffect(async () => {
// if (user.value && medicalStation.value) loadCounters();
loadCounters();
if (user.value && medicalStation.value) loadCounters();
});
</script>
1 change: 0 additions & 1 deletion ibrvaats/src/views/medical-stations/datas/DatasSummary.vue
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,6 @@ const showVehicleHandler = async ({ plateNumber }) => {
try {
isLoading.value = true;
const result = await getByPlateNumber(plateNumber);
console.log(result);
vehicle.value = result[0];
} catch ({ message }) {
console.log("error", message);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,6 @@ const loadCounters = async () => {
};
watchEffect(async () => {
// if (user.value && policeStation.value) loadCounters();
loadCounters();
if (user.value && policeStation.value) loadCounters();
});
</script>
1 change: 0 additions & 1 deletion ibrvaats/src/views/police-stations/dashboard/data.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
export const dashboardItems = [
// { title: "Users", icon: "mdi-account-multiple", count: 0 },
{ title: "Vehicles", icon: "mdi-car", count: 0 },
{ title: "Accident Data", icon: "mdi-database", count: 0 },
];
1 change: 0 additions & 1 deletion ibrvaats/src/views/police-stations/datas/DatasSummary.vue
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,6 @@ const showVehicleHandler = async ({ plateNumber }) => {
try {
isLoading.value = true;
const result = await getByPlateNumber(plateNumber);
console.log(result);
vehicle.value = result[0];
} catch ({ message }) {
console.log("error", message);
Expand Down

0 comments on commit a48f7bc

Please sign in to comment.