File tree Expand file tree Collapse file tree 1 file changed +4
-7
lines changed
LearningHub.Nhs.WebUI/Scripts/vuesrc/notification Expand file tree Collapse file tree 1 file changed +4
-7
lines changed Original file line number Diff line number Diff line change 3030 <a href =" #" @click =" showNotification(notification)" >{{ notification.title }}</a >
3131 </td >
3232 <td class =" px-sm-3 py-sm-3" >
33- <div class =" d-flex justify-content-between"
33+ <div class =" d-flex justify-content-between"
3434 v-for =" item in notificationTypeContent(notification.notificationType)" >
3535 {{ item.text }}  ;
3636 <i :class =" item.className" ></i >
4545 </td >
4646 <td class =" px-sm-3 py-sm-3" >
4747 <div class =" d-flex justify-content-between" v-if =" notification.userDismissable" >
48- <button data-target =" #deleteModal" class =" nhsuk-button nhsuk-u-margin-bottom-0 " data-toggle =" modal" @click =" selectNotification(notification)" >Delete</button >
48+ <button data-target =" #deleteModal" class =" nhsuk-button" data-toggle =" modal" @click =" selectNotification(notification)" >Delete</button >
4949 </div >
5050 </td >
5151 </tr >
7474 <i :class =" ['fal fa-envelope' + (notification.readOnDate != null ? '-open text-success' : '')]" >  ; </i >
7575 <a href =" #" @click =" showNotification(notification)" >{{ notification.title }}</a >
7676 </div >
77-
78- <a href =" #deleteModalButton" data-toggle =" modal" @click =" deleteNotification()" aria-label =" Delete" v-if =" notification.userDismissable" >
79- <i class =" fas fa-ellipsis-h fa-lg" style =" color : #435563 ;" ></i >
80- </a >
77+ <button data-target =" #deleteModalButton" class =" nhsuk-button" data-toggle =" modal" @click =" deleteNotification()" aria-label =" Delete" v-if =" notification.userDismissable" >Delete</button >
8178 </div >
8279
8380 <paging v-bind =" this.pagingModel" @loadPage =" loadPage" ></paging >
173170 .catch (e => console .log (e ));
174171 }
175172 },
176- async deleteNotification() {
173+ async deleteNotification() {
177174 await axios .delete (
178175 ' /api/notification/' + this .selectedNotification .notificationId + ' ?userNotificationId=' + this .selectedNotification .id )
179176 .catch (e => console .log (e ));
You can’t perform that action at this time.
0 commit comments