|
@@ -1,7 +1,7 @@
|
|
|
<template>
|
|
|
<div class="general-settings">
|
|
|
<text-input placeholder="Project ID"
|
|
|
- :value="$root.project.identifier"
|
|
|
+ :value="projectId"
|
|
|
readonly="readonly">
|
|
|
Project ID
|
|
|
</text-input>
|
|
@@ -104,6 +104,11 @@ export default {
|
|
|
// TODO then / error
|
|
|
this.$root.socket.post(`/projects/${this.projectId}/remove`, {remove: true})
|
|
|
}
|
|
|
+ },
|
|
|
+ computed: {
|
|
|
+ projectId: function () {
|
|
|
+ return this.$root.project.identifier;
|
|
|
+ }
|
|
|
}
|
|
|
}
|
|
|
</script>
|
|
@@ -121,4 +126,4 @@ export default {
|
|
|
font-size: 80%;
|
|
|
margin-bottom: 0.1rem;
|
|
|
}
|
|
|
-</style>
|
|
|
+</style>
|