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

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

No files matched your search

+1 -1
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())