2023-10-14 14:01:51 +02:00
|
|
|
<script>
|
|
|
|
export default {
|
2023-10-16 01:14:19 +02:00
|
|
|
name: "Extensions",
|
2023-10-14 14:01:51 +02:00
|
|
|
methods: {
|
|
|
|
pluginDisplayName(name) {
|
|
|
|
const words = name.split('.')
|
|
|
|
words.forEach((word, idx) => {
|
|
|
|
words[idx] = word.charAt(0).toUpperCase() + word.slice(1)
|
|
|
|
})
|
|
|
|
|
|
|
|
if (words.length > 1)
|
|
|
|
words[0] = `[${words[0]}]`
|
|
|
|
|
|
|
|
return words.join(' ')
|
|
|
|
},
|
|
|
|
}
|
|
|
|
}
|
|
|
|
</script>
|