config: fix duplicate route definition issue

Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
This commit is contained in:
Rohit Yadav 2019-11-04 12:53:01 +05:30
parent 46d5e70c74
commit ed42277cc4
4 changed files with 3 additions and 43 deletions

View File

@ -48,7 +48,7 @@ export default {
args: ['url', 'name', 'displaytext', 'directdownload', 'zoneids', 'hypervisor', 'format', 'ostypeid', 'checksum', 'isextractable', 'passwordenabled', 'sshkeyenabled', 'isdynamicallyscalable', 'ispublic', 'isfeatured', 'isrouting', 'requireshvm']
},
{
api: 'getUploadParamsForVolume',
api: 'getUploadParamsForTemplate',
icon: 'cloud-upload',
label: 'Upload Local Template',
listView: true,

View File

@ -64,7 +64,7 @@ export default {
listView: true,
params: { 'issystem': 'true' },
popup: true,
component: () => import('@/views/offering/AddSystemOffering.vue')
component: () => import('@/views/offering/AddComputeOffering.vue')
}, {
api: 'updateServiceOffering',
icon: 'edit',

View File

@ -17,7 +17,7 @@
<template>
<div>
This must also check and handle for add system offering as it's the same API
</div>
</template>

View File

@ -1,40 +0,0 @@
// Licensed to the Apache Software Foundation (ASF) under one
// or more contributor license agreements. See the NOTICE file
// distributed with this work for additional information
// regarding copyright ownership. The ASF licenses this file
// to you under the Apache License, Version 2.0 (the
// "License"); you may not use this file except in compliance
// with the License. You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing,
// software distributed under the License is distributed on an
// "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
// KIND, either express or implied. See the License for the
// specific language governing permissions and limitations
// under the License.
<template>
<div>
</div>
</template>
<script>
export default {
name: '',
components: {
},
data () {
return {
}
},
methods: {
}
}
</script>
<style scoped>
</style>