mirror of
https://github.com/hpware/news-analyze.git
synced 2025-06-23 21:14:23 +00:00
A publisher api. & modded the news.vue file to use the publisherId instead of the name. & cleaned the code using prettier.
This commit is contained in:
parent
1dd324e0ca
commit
5392974261
6 changed files with 99 additions and 36 deletions
|
@ -241,7 +241,7 @@ const openPublisher = (text: string) => {
|
|||
<TooltipProvider>
|
||||
<Tooltip>
|
||||
<TooltipTrigger>
|
||||
<button @click="openPublisher(item.publisher)">
|
||||
<button @click="openPublisher(item.publisherId)">
|
||||
{{ item.publisher }}
|
||||
</button>
|
||||
</TooltipTrigger>
|
||||
|
|
|
@ -69,9 +69,7 @@ const aiSummary = async () => {
|
|||
/>Activate
|
||||
</button>
|
||||
<div v-else>
|
||||
<div v-if="!summaryText">
|
||||
Loading...
|
||||
</div>
|
||||
<div v-if="!summaryText">Loading...</div>
|
||||
<div v-else>{{ summaryText }}</div>
|
||||
</div>
|
||||
</div>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue