Commit 7966950e by Johannes Edmeier

make .native modifier for icon button not necessary

parent 95cf1f90
......@@ -15,7 +15,7 @@
-->
<template>
<button type="button" class="icon-button" :disabled="disabled">
<button type="button" class="icon-button" :disabled="disabled" v-on="$listeners">
<font-awesome-icon :icon="icon" :size="size" :class="iconClass"/>
</button>
</template>
......
......@@ -44,11 +44,11 @@
<div class="application-list__item__header__actions">
<sba-icon-button :id="`nf-settings-${application.name}`"
v-if="hasNotificationFiltersSupport"
@click.native.stop="toggleNotificationFilterSettingsFor(application)"
@click.stop="toggleNotificationFilterSettingsFor(application)"
:icon="hasActiveFilter(application) ? 'bell-slash' : 'bell'"/>&nbsp;
<sba-icon-button icon="trash"
v-if="application.isUnregisterable"
@click.native.stop="unregister(application)"/>
@click.stop="unregister(application)"/>
</div>
</header>
<div class="card-content" v-if="selected === application.name">
......@@ -70,11 +70,11 @@
<td class="instance__actions">
<sba-icon-button :id="`nf-settings-${instance.id}`"
v-if="hasNotificationFiltersSupport"
@click.native.stop="toggleNotificationFilterSettingsFor(instance)"
@click.stop="toggleNotificationFilterSettingsFor(instance)"
:icon="hasActiveFilter(instance) ? 'bell-slash' : 'bell'"/>
<sba-icon-button icon="trash"
v-if="instance.isUnregisterable"
@click.native.stop="unregister(instance)"/>
@click.stop="unregister(instance)"/>
</td>
</tr>
</tbody>
......
......@@ -62,7 +62,7 @@
</div>
<sba-icon-button v-if="mBean === selectedMBean" :icon="['far', 'times-circle']"
class="m-bean--header--close has-text-white"
@click.native.stop="select(selectedDomain)"/>
@click.stop="select(selectedDomain)"/>
<div class="hero-foot tabs is-boxed" v-if="mBean === selectedMBean">
<ul>
<li v-if="mBean.attr" :class="{'is-active' : selected.view === 'attributes' }">
......
......@@ -27,9 +27,9 @@
</div>
<div class="logfile-view-actions" v-if="hasLoaded">
<div class="logfile-view-actions__navigation">
<sba-icon-button :disabled="atTop" @click.native="scrollToTop" icon="step-backward" size="lg"
<sba-icon-button :disabled="atTop" @click="scrollToTop" icon="step-backward" size="lg"
icon-class="rotated"/>
<sba-icon-button :disabled="atBottom" @click.native="scrollToBottom" icon="step-forward" size="lg"
<sba-icon-button :disabled="atBottom" @click="scrollToBottom" icon="step-forward" size="lg"
icon-class="rotated"/>
</div>
<a class="button" v-if="instance" :href="`instances/${instance.id}/logfile`" target="_blank">
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment