mirror of
https://iceshrimp.dev/limepotato/jormungandr-bite.git
synced 2024-11-25 19:37:34 -07:00
🎨
This commit is contained in:
parent
d18d4fdc8e
commit
f653240667
1 changed files with 2 additions and 2 deletions
|
@ -56,7 +56,7 @@
|
||||||
import Vue from 'vue';
|
import Vue from 'vue';
|
||||||
import i18n from '../../../../i18n';
|
import i18n from '../../../../i18n';
|
||||||
import XContainer from './page-editor.container.vue';
|
import XContainer from './page-editor.container.vue';
|
||||||
import { faPencilAlt } from '@fortawesome/free-solid-svg-icons';
|
import { faPencilAlt, faPlug } from '@fortawesome/free-solid-svg-icons';
|
||||||
import { isLiteralBlock, funcDefs, blockDefs } from '../../../../../../misc/aiscript/index';
|
import { isLiteralBlock, funcDefs, blockDefs } from '../../../../../../misc/aiscript/index';
|
||||||
import * as uuid from 'uuid';
|
import * as uuid from 'uuid';
|
||||||
|
|
||||||
|
@ -107,7 +107,7 @@ export default Vue.extend({
|
||||||
computed: {
|
computed: {
|
||||||
icon(): any {
|
icon(): any {
|
||||||
if (this.value.type === null) return null;
|
if (this.value.type === null) return null;
|
||||||
if (this.value.type.startsWith('fn:')) return null;
|
if (this.value.type.startsWith('fn:')) return faPlug;
|
||||||
return blockDefs.find(x => x.type === this.value.type).icon;
|
return blockDefs.find(x => x.type === this.value.type).icon;
|
||||||
},
|
},
|
||||||
typeText(): any {
|
typeText(): any {
|
||||||
|
|
Loading…
Reference in a new issue