Skip to content

Commit

Permalink
fix manytoone being saved as alias
Browse files Browse the repository at this point in the history
  • Loading branch information
wellingguzman committed Sep 22, 2016
1 parent 75354ff commit 3b541d2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/modules/settings/views/TablesView.js
Expand Up @@ -297,7 +297,7 @@ function(app, Backbone, Directus, BasePageView, TableModel, ColumnModel, UIManag
}

var dataType = this.selectedDataType;
if (this.selectedRelationshipType) {
if (this.isAlias === true) {
dataType = 'ALIAS';
}
this.model.set({data_type: dataType, ui: this.selectedUI});
Expand Down

0 comments on commit 3b541d2

Please sign in to comment.