BookStack/resources/assets/js/vues
Abijeet 7d81a95156 Fixes issue with having to click the delete icon for attachment twice.
Fixes #884

This is happening because -

Due to the limitations of modern JavaScript (and the abandonment of Object.observe), Vue cannot detect property addition or deletion. Since Vue performs the getter/setter conversion process during instance initialization, a property must be present in the data object in order for Vue to convert it and make it reactive.

Source: https://vuejs.org/v2/guide/reactivity.html

Also added padding to the icons in the attachment section.

Signed-off-by: Abijeet <abijeetpatro@gmail.com>
2018-06-17 14:21:31 +05:30
..
components Merge branch 'bug/gif-image-740' of git://github.com/Abijeet/BookStack 2018-03-24 14:54:50 +00:00
attachment-manager.js Fixes issue with having to click the delete icon for attachment twice. 2018-06-17 14:21:31 +05:30
code-editor.js Refactored js file structure to be standard throughout app 2018-04-01 13:21:11 +01:00
entity-dashboard.js Aligned entity dash name and fixed chapter toggle on dash 2017-08-19 14:04:38 +01:00
image-manager.js Made image cleanup safer 2018-05-27 14:33:50 +01:00
page-editor.js Improved 404 handling and fixed editor error 2018-05-19 17:01:33 +01:00
search.js Refactored moment.js out of app 2018-04-01 14:10:44 +01:00
tag-manager.js Added tags to chapters and books 2018-03-30 14:09:51 +01:00
vues.js Attempted move to webpack again 2018-03-11 16:16:30 +00:00