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 = [];
|
this.projectList = [];
|
||||||
SnapCloud.getProjectList(
|
SnapCloud.getProjectList(
|
||||||
function (projectList) {
|
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();
|
msg.destroy();
|
||||||
},
|
},
|
||||||
function (err, lbl) {
|
function (err, lbl) {
|
||||||
|
|
Ładowanie…
Reference in New Issue