summaryrefslogtreecommitdiff
path: root/src/client/app/common/views/components
diff options
context:
space:
mode:
authorsyuilo <syuilotan@yahoo.co.jp>2019-05-01 19:50:56 +0900
committersyuilo <syuilotan@yahoo.co.jp>2019-05-01 19:50:56 +0900
commit76c538ad25fb69d4d1adbc94400d5d56db316a9e (patch)
treeaa853337c336b76325505a40f1f3b3dce7398e3f /src/client/app/common/views/components
parentFix bug (diff)
downloadmisskey-76c538ad25fb69d4d1adbc94400d5d56db316a9e.tar.gz
misskey-76c538ad25fb69d4d1adbc94400d5d56db316a9e.tar.bz2
misskey-76c538ad25fb69d4d1adbc94400d5d56db316a9e.zip
:art:
Diffstat (limited to 'src/client/app/common/views/components')
-rw-r--r--src/client/app/common/views/components/page-editor/page-editor.script-block.vue4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/client/app/common/views/components/page-editor/page-editor.script-block.vue b/src/client/app/common/views/components/page-editor/page-editor.script-block.vue
index 801e30cf0f..41ca8ed09a 100644
--- a/src/client/app/common/views/components/page-editor/page-editor.script-block.vue
+++ b/src/client/app/common/views/components/page-editor/page-editor.script-block.vue
@@ -56,7 +56,7 @@
import Vue from 'vue';
import i18n from '../../../../i18n';
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 * as uuid from 'uuid';
@@ -107,7 +107,7 @@ export default Vue.extend({
computed: {
icon(): any {
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;
},
typeText(): any {