<commit_before><template>
  <span @click.stop="next()" v-if="type === 'next'">
    <i class="material-icons p15 pointer">keyboard_arrow_right</i>
  </span>
  <span @click.stop="back()" v-else>
    <i class="material-icons p15 pointer">keyboard_arrow_left</i>
  </span>
</template>
<script>
import { mapState } from 'vuex'
export default {
  name: 'SubBtn',
  props: {
    id: {
      type: null,
      default: ''
    },
    type: {
      type: String,
      default: 'next'
    }
  },
  computed: {
    ...mapState({
      submenu: state => state.ui.submenu
    })
  },
  methods: {
    next () {
      this.$store.commit('ui/setSubmenu', {
        id: this.id,
        depth: ++this.submenu.depth
      })
    },
    back () {<commit_msg>Modify component "sub-btn" : change span to button<commit_after><template>
  <button @click.stop="next()" v-if="type === 'next'">
    <i class="material-icons p15 pointer">keyboard_arrow_right</i>
  </button>
  <button @click.stop="back()" v-else>
    <i class="material-icons p15 pointer">keyboard_arrow_left</i>
  </button>
</template>
<script>
import { mapState } from 'vuex'
export default {
  name: 'SubBtn',
  props: {
    id: {
      type: null,
      default: ''
    },
    type: {
      type: String,
      default: 'next'
    }
  },
  computed: {
    ...mapState({
      submenu: state => state.ui.submenu
    })
  },
  methods: {
    next () {
      this.$store.commit('ui/setSubmenu', {
        id: this.id,
        depth: ++this.submenu.depth
      })
    },
    back () {
{'fraction_non_alphanumeric': 0.1822950819672131, 'fraction_numerical': 0.005245901639344262, 'mean_word_length': 2.4446952595936793, 'pattern_counts': {'":': 0, '<': 25, '<?xml version=': 0, '>': 27, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2403920', 'n_tokens_mistral': 549, 'n_tokens_neox': 540, 'n_words': 108}