|
|
@@ -68,7 +68,7 @@ |
|
|
|
<Input |
|
|
|
type="text" |
|
|
|
v-model="accountPlan.name" |
|
|
|
:placeholder="messages.field_label_network_name" |
|
|
|
:placeholder="properUserName" |
|
|
|
v-validate="'required'" |
|
|
|
name="name" |
|
|
|
class="form-control" |
|
|
@@ -340,6 +340,7 @@ export default { |
|
|
|
sendErrors: true, |
|
|
|
sendMetrics: true, |
|
|
|
}, |
|
|
|
|
|
|
|
defaults: { |
|
|
|
domain: '', |
|
|
|
locale: 'en_US', |
|
|
@@ -416,6 +417,10 @@ export default { |
|
|
|
: []; |
|
|
|
}, |
|
|
|
|
|
|
|
properUserName: function() { |
|
|
|
return this.user.email.substring( 0, this.user.email.indexOf( '@' ) ); |
|
|
|
}, |
|
|
|
|
|
|
|
footprintObjects: function() { |
|
|
|
return this.footprints |
|
|
|
? this.footprints.map((footprint) => ({ |
|
|
|