mirror of
https://github.com/harvester/harvester-ui-extension.git
synced 2026-10-04 21:26:08 +08:00
Lint fixes
Signed-off-by: Francesco Torchia <francesco.torchia@suse.com>
This commit is contained in:
@@ -225,8 +225,16 @@ export default {
|
||||
<div>
|
||||
<h3>{{ t('harvester.setting.containerdRegistry.mirrors.mirrors') }}</h3>
|
||||
<div>
|
||||
<InfoBox v-for="mirror, idx in mirrors" :key="mirror.idx" class="box">
|
||||
<button type="button" class="role-link btn btn-sm remove" @click="remove('mirrors', idx)">
|
||||
<InfoBox
|
||||
v-for="mirror, idx in mirrors"
|
||||
:key="mirror.idx"
|
||||
class="box"
|
||||
>
|
||||
<button
|
||||
type="button"
|
||||
class="role-link btn btn-sm remove"
|
||||
@click="remove('mirrors', idx)"
|
||||
>
|
||||
<i class="icon icon-2x icon-x" />
|
||||
</button>
|
||||
|
||||
@@ -273,7 +281,10 @@ export default {
|
||||
</infobox>
|
||||
</div>
|
||||
|
||||
<button class="btn btn-sm role-primary" @click.self="addMirror">
|
||||
<button
|
||||
class="btn btn-sm role-primary"
|
||||
@click.self="addMirror"
|
||||
>
|
||||
{{ t('harvester.setting.containerdRegistry.mirrors.addMirror') }}
|
||||
</button>
|
||||
|
||||
@@ -281,8 +292,16 @@ export default {
|
||||
|
||||
<h3>{{ t('harvester.setting.containerdRegistry.configs.configs') }}</h3>
|
||||
<div>
|
||||
<InfoBox v-for="config, idx in configs" :key="config.idx" class="box">
|
||||
<button type="button" class="role-link btn btn-sm remove" @click="remove('configs', idx)">
|
||||
<InfoBox
|
||||
v-for="config, idx in configs"
|
||||
:key="config.idx"
|
||||
class="box"
|
||||
>
|
||||
<button
|
||||
type="button"
|
||||
class="role-link btn btn-sm remove"
|
||||
@click="remove('configs', idx)"
|
||||
>
|
||||
<i class="icon icon-2x icon-x" />
|
||||
</button>
|
||||
|
||||
@@ -355,7 +374,10 @@ export default {
|
||||
</div>
|
||||
</infobox>
|
||||
|
||||
<button class="btn btn-sm role-primary" @click="addConfig">
|
||||
<button
|
||||
class="btn btn-sm role-primary"
|
||||
@click="addConfig"
|
||||
>
|
||||
{{ t('harvester.setting.containerdRegistry.configs.addConfig') }}
|
||||
</button>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user