kopia lustrzana https://github.com/backface/turtlestitch
open dialog: Dont show cloud projects if user has since switch panes
rodzic
df54bfb00e
commit
2c49bea5d4
5
gui.js
5
gui.js
|
@ -5112,7 +5112,10 @@ ProjectDialogMorph.prototype.setSource = function (source) {
|
|||
this.projectList = [];
|
||||
SnapCloud.getProjectList(
|
||||
function (projectList) {
|
||||
myself.installCloudProjectList(projectList);
|
||||
// Don't show cloud projects if user has since switch panes.
|
||||
if (myself.source === 'cloud') {
|
||||
myself.installCloudProjectList(projectList);
|
||||
}
|
||||
msg.destroy();
|
||||
},
|
||||
function (err, lbl) {
|
||||
|
|
Ładowanie…
Reference in New Issue