Post --> Note

Closes #1411
This commit is contained in:
syuilo
2018-04-08 02:30:37 +09:00
parent c7106d250c
commit a1b490afa7
167 changed files with 4440 additions and 1762 deletions

View File

@@ -1,12 +1,12 @@
import PostFormWindow from '../views/components/post-form-window.vue';
import RepostFormWindow from '../views/components/repost-form-window.vue';
import RenoteFormWindow from '../views/components/renote-form-window.vue';
export default function(opts) {
const o = opts || {};
if (o.repost) {
const vm = new RepostFormWindow({
if (o.renote) {
const vm = new RenoteFormWindow({
propsData: {
repost: o.repost
renote: o.renote
}
}).$mount();
document.body.appendChild(vm.$el);