diff options
| author | syuilo <Syuilotan@yahoo.co.jp> | 2020-12-19 10:55:52 +0900 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-12-19 10:55:52 +0900 |
| commit | 43930e6a84d11fb00b9ae9ac153c2538e179d538 (patch) | |
| tree | c6f6d98976d9ea5d198d0c1249b7b2a8749353f3 /src/client/components/page | |
| parent | Bump vue-i18n from 9.0.0-beta.7 to 9.0.0-beta.14 (#6993) (diff) | |
| download | misskey-43930e6a84d11fb00b9ae9ac153c2538e179d538.tar.gz misskey-43930e6a84d11fb00b9ae9ac153c2538e179d538.tar.bz2 misskey-43930e6a84d11fb00b9ae9ac153c2538e179d538.zip | |
Storage improve (#6976)
* wip
* wip
* wip
* wip
* wip
* Update storage.ts
* wip
* wip
* wip
* wip
* Update storage.ts
* Update storage.ts
* wip
* wip
* wip
* wip
* wip
* wip
* wip
* Update storage.ts
* wip
* wip
* wip
* wip
* :pizza:
* wip
* wip
* wip
* wip
* wip
* wip
* Update deck-storage.ts
* wip
* wip
* wip
* wip
* wip
* wip
* wip
* wip
* wip
* wip
* wip
* wip
* wip
* wip
* wip
* wip
* Update store.ts
* wip
* wip
* wip
* wip
* Update init.ts
* wip
* wip
* Update pizzax.ts
* wip
* wip
* Update timeline.vue
* Update init.ts
* wip
* wip
* Update init.ts
Diffstat (limited to 'src/client/components/page')
| -rw-r--r-- | src/client/components/page/page.post.vue | 6 | ||||
| -rw-r--r-- | src/client/components/page/page.text.vue | 2 | ||||
| -rw-r--r-- | src/client/components/page/page.vue | 4 |
3 files changed, 6 insertions, 6 deletions
diff --git a/src/client/components/page/page.post.vue b/src/client/components/page/page.post.vue index ac8be4a397..46870ca0d7 100644 --- a/src/client/components/page/page.post.vue +++ b/src/client/components/page/page.post.vue @@ -49,9 +49,9 @@ export default defineComponent({ canvas.toBlob(blob => { const data = new FormData(); data.append('file', blob); - data.append('i', this.$store.state.i.token); - if (this.$store.state.settings.uploadFolder) { - data.append('folderId', this.$store.state.settings.uploadFolder); + data.append('i', this.$i.token); + if (this.$store.state.uploadFolder) { + data.append('folderId', this.$store.state.uploadFolder); } fetch(apiUrl + '/drive/files/create', { diff --git a/src/client/components/page/page.text.vue b/src/client/components/page/page.text.vue index fff840f743..f109c9f041 100644 --- a/src/client/components/page/page.text.vue +++ b/src/client/components/page/page.text.vue @@ -1,6 +1,6 @@ <template> <div class="mrdgzndn"> - <Mfm :text="text" :is-note="false" :i="$store.state.i" :key="text"/> + <Mfm :text="text" :is-note="false" :i="$i" :key="text"/> <MkUrlPreview v-for="url in urls" :url="url" :key="url" class="url"/> </div> </template> diff --git a/src/client/components/page/page.vue b/src/client/components/page/page.vue index b957779476..4aa86e075a 100644 --- a/src/client/components/page/page.vue +++ b/src/client/components/page/page.vue @@ -35,9 +35,9 @@ export default defineComponent({ created() { this.hpml = new Hpml(this.page, { randomSeed: Math.random(), - visitor: this.$store.state.i, + visitor: this.$i, url: url, - enableAiScript: !this.$store.state.device.disablePagesScript + enableAiScript: !this.$store.state.disablePagesScript }); }, |