Skip to content

Commit

Permalink
#1805: fix switching scope button for loggers (#1843)
Browse files Browse the repository at this point in the history
  • Loading branch information
ulischulte committed Oct 1, 2021
1 parent e547312 commit 785b28e
Showing 1 changed file with 5 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,9 @@
<div v-sticks-below="['#navigation']" class="loggers__header">
<div class="field is-grouped">
<div class="control">
<btn-scope v-if="instanceCount > 1" :instance-count="instanceCount" :scope="scope"
@changeScope="$emit('changeScope', $event)"
<sba-toggle-scope-button v-if="instanceCount > 1"
:instance-count="instanceCount"
@changeScope="$emit('changeScope', $event)"
/>
</div>
<div class="control is-expanded">
Expand Down Expand Up @@ -80,6 +81,7 @@
import sticksBelow from '@/directives/sticks-below';
import {finalize, from, listen} from '@/utils/rxjs';
import LoggersList from './loggers-list';
import SbaToggleScopeButton from '@/components/sba-toggle-scope-button';
const isClassName = name => /\.[A-Z]/.test(name);
Expand All @@ -103,7 +105,7 @@ const addLoggerCreationEntryIfLoggerNotPresent = (nameFilter, loggers) => {
};
export default {
components: {LoggersList},
components: {SbaToggleScopeButton, LoggersList},
directives: {sticksBelow},
props: {
scope: {
Expand Down

0 comments on commit 785b28e

Please sign in to comment.