Skip to content

Commit 53c0f46

Browse files
committed
extensions directory label
Signed-off-by: Abhishek Kumar <[email protected]>
1 parent c5a48cd commit 53c0f46

File tree

1 file changed

+1
-8
lines changed

1 file changed

+1
-8
lines changed

ui/src/views/extension/CreateExtension.vue

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff 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
},

0 commit comments

Comments
 (0)