ui: rm random log
This commit is contained in:
parent
4192203071
commit
2c7fc9b88e
1 changed files with 1 additions and 1 deletions
|
|
@ -379,7 +379,7 @@ export default class SessionStore {
|
|||
toggleFavorite = async (id: string) => {
|
||||
try {
|
||||
const r = await sessionService.toggleFavorite(id);
|
||||
if (r.success) {
|
||||
if (r.ok) {
|
||||
const list = this.list;
|
||||
const current = this.current;
|
||||
const sessionIdx = list.findIndex(({ sessionId }) => sessionId === id);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue