Fix unable to forget shared note... Part of issue #72

This commit is contained in:
Matias De lellis
2022-05-31 14:11:56 -03:00
parent 7d1748d2e5
commit 38860f784f
4 changed files with 28 additions and 22 deletions

View File

@@ -370,7 +370,7 @@ View.prototype = {
t('quicknotes', 'Delete note'),
function(result) {
if (result) {
if (!note.is_shared) {
if (!note.sharedBy.length) {
self._notes.remove(note).done(function () {
if (self._notes.length() > 0) {
self._isotope.remove(gridnote.parent())