delete button working (#274)

Fixes #274.
This commit is contained in:
americool
2017-03-11 13:47:36 -05:00
committed by David Calavera
parent 8ffe6730fa
commit 3c7b8d2322
6 changed files with 68 additions and 2 deletions

View File

@ -200,6 +200,9 @@ class Backend {
return this.implementation.publishUnpublishedEntry(collection, slug);
}
deleteUnpublishedEntry(collection, slug) {
return this.implementation.deleteUnpublishedEntry(collection, slug);
}
entryToRaw(collection, entry) {
const format = resolveFormat(collection, entry.toJS());