Skip to content
Snippets Groups Projects
Commit 8c35d907 authored by pabois's avatar pabois
Browse files

init mapping

parent be0114c3
No related branches found
No related tags found
No related merge requests found
......@@ -26,7 +26,7 @@
<div class="card-body">
<div class="form-group">
<label for="" class="form-control-label">SSO Key *</label>
<input
<input
v-model="field.sso_key"
type="text" class="form-control">
</div>
......@@ -67,7 +67,7 @@
},
data() {
return {
fields: <%= university.sso_mapping.to_json.html_safe || "[]" %>
fields: <%= university.sso_mapping.blank? ? '[]' : university.sso_mapping.to_json.html_safe %>
}
}
});
......@@ -77,4 +77,4 @@
app.mount('#app');
}, 1000);
});
</script>
\ No newline at end of file
</script>
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment