1
0
mirror of https://github.com/BookStackApp/BookStack.git synced 2024-11-24 20:02:35 +01:00
BookStack/resources
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
..
assets Fixes issue with having to click the delete icon for attachment twice. 2018-06-17 14:21:31 +05:30
lang Merge branch 'drawing_updates' 2018-05-27 19:42:25 +01:00
views Fixes issue with having to click the delete icon for attachment twice. 2018-06-17 14:21:31 +05:30