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/pages/page.vue | |
| 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/pages/page.vue')
| -rw-r--r-- | src/client/pages/page.vue | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/client/pages/page.vue b/src/client/pages/page.vue index 43c1688824..f2ccce67bf 100644 --- a/src/client/pages/page.vue +++ b/src/client/pages/page.vue @@ -21,9 +21,9 @@ <div class="_section links"> <div class="_content"> <MkA :to="`./${page.name}/view-source`" class="link">{{ $t('_pages.viewSource') }}</MkA> - <template v-if="$store.getters.isSignedIn && $store.state.i.id === page.userId"> + <template v-if="$i && $i.id === page.userId"> <MkA :to="`/pages/edit/${page.id}`" class="link">{{ $t('_pages.editThisPage') }}</MkA> - <button v-if="$store.state.i.pinnedPageId === page.id" @click="pin(false)" class="link _textButton">{{ $t('unpin') }}</button> + <button v-if="$i.pinnedPageId === page.id" @click="pin(false)" class="link _textButton">{{ $t('unpin') }}</button> <button v-else @click="pin(true)" class="link _textButton">{{ $t('pin') }}</button> </template> </div> |