Skip to content

Commit

Permalink
Fix lint?
Browse files Browse the repository at this point in the history
  • Loading branch information
tomchop committed Feb 9, 2025
1 parent 91414f1 commit d6fbc35
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions timesketch/frontend-ng/src/views/ThreatIntel.vue
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ limitations under the License.
<template v-slot:item.tags="{ item }">
<v-chip-group>
<v-chip small v-for="tag in augmentedTags(item.tags).sort((a, b) => b.weight - a.weight)"
:color="tag.color" :text-color="tag.textColor" :outlined="tag.style == 'outlined'" :key="tag.name"
:color="tag.color" :text-color="tag.textColor" :outlined="tag.style === 'outlined'" :key="tag.name"
@click="searchForIOC(tag)">
{{ tag.name }}
</v-chip>
Expand Down Expand Up @@ -165,7 +165,7 @@ export default {
return tags.map(tag => this.metadataForTag(tag))
},
getIocTypeMetadata(ioc) {
let iocTypeMetatada = IOCTypes.find(def => def.type == ioc.type)
let iocTypeMetatada = IOCTypes.find(def => def.type === ioc.type)
if (iocTypeMetatada !== undefined) {
return iocTypeMetatada
} else {
Expand Down

0 comments on commit d6fbc35

Please sign in to comment.