diff options
author | Max <max@nextcloud.com> | 2022-06-01 12:33:53 +0300 |
---|---|---|
committer | Max <max@nextcloud.com> | 2022-06-07 20:42:04 +0300 |
commit | eed9f8bbd4f60738d5e5e1e4276d41798aeca2a3 (patch) | |
tree | e198cdc4bef4647fb7f9d1486ec88390da163e2c /src/components/Reader.vue | |
parent | 77a499e0637de605d63946623b29eb1fb154cbaf (diff) |
rename {Rich,Plain}textReader to {Rich,Plain}TextReader
Be consistent with other uses of `RichText` and `PlainText`.
Signed-off-by: Max <max@nextcloud.com>
Diffstat (limited to 'src/components/Reader.vue')
-rw-r--r-- | src/components/Reader.vue | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/components/Reader.vue b/src/components/Reader.vue index 191d197aa..212e198d1 100644 --- a/src/components/Reader.vue +++ b/src/components/Reader.vue @@ -21,19 +21,19 @@ --> <template> - <RichtextReader v-if="isRichText" + <RichTextReader v-if="isRichText" :content="content" /> - <PlaintextReader v-else + <PlainTextReader v-else :content="content" /> </template> <script> -import PlaintextReader from './PlaintextReader.vue' -import RichtextReader from './RichtextReader.vue' +import PlainTextReader from './PlainTextReader.vue' +import RichTextReader from './RichTextReader.vue' export default { name: 'Reader', - components: { PlaintextReader, RichtextReader }, + components: { PlainTextReader, RichTextReader }, props: { content: { type: String, |