mirror of
https://github.com/cryptpad/cryptpad.git
synced 2026-09-14 11:05:41 +05:00
Fix TypeError when destroying a shared folder
This commit is contained in:
parent
38cc88480a
commit
20df2a4d53
@ -1028,7 +1028,7 @@ define([
|
||||
|
||||
// If this is a form wiht a answer channel, delete it too
|
||||
var p = priv.propChannels;
|
||||
if (p.answersChannel) {
|
||||
if (p && p.answersChannel) {
|
||||
sframeChan.query('Q_DELETE_OWNED', {
|
||||
teamId: typeof(owned) !== "boolean" ? owned : undefined,
|
||||
channel: p.answersChannel
|
||||
|
||||
Loading…
Reference in New Issue
Block a user