From 5ed5a34282d1125149375c3ee16fdb67b9a60c13 Mon Sep 17 00:00:00 2001 From: nurafrinaalimi16 Date: Mon, 29 Apr 2024 21:56:53 +0800 Subject: [PATCH] fix array view for nominee at admin page --- .../components/demo/admin/nominee/index.vue | 27 ++++++++++++------- 1 file changed, 18 insertions(+), 9 deletions(-) diff --git a/resources/assets/js/components/demo/admin/nominee/index.vue b/resources/assets/js/components/demo/admin/nominee/index.vue index 8bf7cf7..2c0a711 100644 --- a/resources/assets/js/components/demo/admin/nominee/index.vue +++ b/resources/assets/js/components/demo/admin/nominee/index.vue @@ -44,19 +44,28 @@ {{ nominee.no_anggota }} {{ nominee.unit }} {{ nominee.position }} - {{ nominee.education }} - {{ nominee.experience }} + +
    +
  1. {{ item }}
  2. +
+ + +
    +
  1. {{ item }}
  2. +
+ + - Set semula + Kemaskini - + No Calon @@ -106,15 +115,15 @@ export default { .then(response => { $.notifyClose(); // Close notification // if (this.util.showResult(response, 'success')) { - if (response.data && response.data.status === 'success') { + if (response.data && response.data.status === 'success') { this.util.notify('Nominee deleted successfully', 'success'); - + // Show success notification this.refreshNominee(); // Refresh the list of nominees } else { - this.util.notify('Failed to delete nominee', 'error'); // Show error notification - + this.util.notify('Failed to delete nominee', 'error'); // Show error notification + } }) .catch(error => {