|
@@ -1,11 +1,23 @@
|
|
|
<template>
|
|
|
<div class="general-settings">
|
|
|
<text-input placeholder="Project ID"
|
|
|
- :value="projectId"
|
|
|
+ :value="$root.project.identifier"
|
|
|
readonly="readonly">
|
|
|
Project ID
|
|
|
</text-input>
|
|
|
|
|
|
+ <text-input placeholder="Project Root"
|
|
|
+ :value="$root.project.root_folder"
|
|
|
+ readonly="readonly">
|
|
|
+ Project Root
|
|
|
+ </text-input>
|
|
|
+
|
|
|
+ <text-input placeholder="Data Root"
|
|
|
+ :value="$root.project.data_folder"
|
|
|
+ readonly="readonly">
|
|
|
+ Data Root
|
|
|
+ </text-input>
|
|
|
+
|
|
|
<text-input placeholder="Name"
|
|
|
:value="name"
|
|
|
@change="sendName"
|
|
@@ -49,13 +61,13 @@ export default {
|
|
|
name: "general-settings",
|
|
|
components: {ButtonInput, ConfirmedButtonInput, TextareaInput, TextInput},
|
|
|
created: function () {
|
|
|
- this.projectId = this.$root.project.identifier;
|
|
|
this.name = this.$root.project.name;
|
|
|
this.description = this.$root.project.description;
|
|
|
+
|
|
|
+ console.log(this.$root.project);
|
|
|
},
|
|
|
data: function () {
|
|
|
return {
|
|
|
- projectId: '',
|
|
|
name: '',
|
|
|
nameError: false,
|
|
|
description: '',
|