File tree Expand file tree Collapse file tree 1 file changed +1
-8
lines changed
Expand file tree Collapse file tree 1 file changed +1
-8
lines changed Original file line number Diff line number Diff line change @@ -111,7 +111,6 @@ export default {
111111 },
112112 data () {
113113 return {
114- extensionsPath: ' ' ,
115114 entryPointModified: false ,
116115 extensionTypes: [],
117116 loading: false
@@ -122,7 +121,6 @@ export default {
122121 },
123122 created () {
124123 this .initForm ()
125- this .fetchExtensionsPath ()
126124 this .fetchExtensionTypes ()
127125 },
128126 computed: {
@@ -134,7 +132,7 @@ export default {
134132 return value .replace (/ [^ a-zA-Z0-9 . _-] / g , ' ' ).toLowerCase ()
135133 },
136134 extenstionBasePath () {
137- return this . extensionsPath + ' /' + this .safeName + ' /'
135+ return ' [EXTENSIONS_DIRECTORY] /' + this .safeName + ' /'
138136 }
139137 },
140138 methods: {
@@ -159,11 +157,6 @@ export default {
159157 })
160158 this .form .type = this .extensionTypes ? .[0 ]? .id
161159 },
162- fetchExtensionsPath () {
163- api (' listConfigurations' , { name: ' external.provisioner.extensions.directory' }).then (json => {
164- this .extensionsPath = (json? .listconfigurationsresponse ? .configuration ? .[0 ]? .value || ' ' )
165- })
166- },
167160 markEntryPointModified () {
168161 this .entryPointModified = true
169162 },
You can’t perform that action at this time.
0 commit comments