Fix allow list UI issues
This commit is contained in:
@@ -1523,11 +1523,11 @@ define([
|
||||
},
|
||||
onError: function (err) {
|
||||
channel.bcast("PAD_ERROR", err);
|
||||
delete channels[data.channel];
|
||||
Store.leavePad(null, data, function () {});
|
||||
},
|
||||
onChannelError: function (err) {
|
||||
channel.bcast("PAD_ERROR", err);
|
||||
delete channels[data.channel];
|
||||
Store.leavePad(null, data, function () {});
|
||||
},
|
||||
onConnectionChange: function (info) {
|
||||
if (!info.state) {
|
||||
@@ -1777,6 +1777,10 @@ define([
|
||||
var metadata = (obj && obj[0]) || {};
|
||||
cb(metadata);
|
||||
|
||||
// If you don't have access to the metadata, stop here
|
||||
// (we can't update the local data)
|
||||
if (metadata.rejected) { return; }
|
||||
|
||||
// Update owners and expire time in the drive
|
||||
getAllStores().forEach(function (s) {
|
||||
var allData = s.manager.findChannel(data.channel, true);
|
||||
|
||||
Reference in New Issue
Block a user