<commit_before><template>
  <div v-if="operation === 'manage'">
    <k-nav-bar :tabs="navBarTabs()" :selected="perspective" />
    <div v-if="perspective === 'security'">
      <k-identity-security :id="id" />
    </div>
    <div v-if="perspective === 'danger-zone'">
      <k-identity-dz :id="id" />
    </div>
    <div v-else>
      <k-editor service="users" :id="id" :perspective="perspective" />
    </div>
  </div>
</template>

<script>
import mixins from '../../mixins'

export default {
  name: 'k-identity-activity',
  mixins: [
    mixins.baseActivity,
  ],
  props: {
    operation: {<commit_msg>Fixed issue in identity activity<commit_after><template>
  <div v-if="operation === 'manage'">
    <k-nav-bar :tabs="navBarTabs()" :selected="perspective" />
    <div v-if="perspective === 'security'">
      <k-identity-security :id="id" />
    </div>
    <div v-else-if="perspective === 'danger-zone'">
      <k-identity-dz :id="id" />
    </div>
    <div v-else>
      <k-editor service="users" :id="id" :perspective="perspective"/>
    </div>
  </div>
</template>

<script>
import mixins from '../../mixins'

export default {
  name: 'k-identity-activity',
  mixins: [
    mixins.baseActivity,
  ],
  props: {
    operation: {
{'fraction_non_alphanumeric': 0.2145748987854251, 'fraction_numerical': 0.0, 'mean_word_length': 3.0524590163934424, 'pattern_counts': {'":': 0, '<': 33, '<?xml version=': 0, '>': 33, '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': '1211899', 'n_tokens_mistral': 450, 'n_tokens_neox': 439, 'n_words': 86}