Skip to content

Commit

Permalink
Merge pull request #18 from beclab/perf/analyzer
Browse files Browse the repository at this point in the history
fix: update cancel icon
  • Loading branch information
wushuangs authored Jul 9, 2024
2 parents fa21fa2 + f953e94 commit 8ec8fb6
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 21 deletions.
1 change: 1 addition & 0 deletions packages/frontend/src/assets/cancel.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
8 changes: 4 additions & 4 deletions packages/frontend/src/pages/LaunchPad.vue
Original file line number Diff line number Diff line change
Expand Up @@ -21,11 +21,11 @@
<div class="search_input" v-if="searchVal.length <= 0 && isFocus">
{{ t('launch_input_placehoder') }}
</div>
<q-icon
class="search_clean cursor-pointer"
<img
v-if="searchVal.length > 0"
name="sym_r_cancel"
size="16px"
class="search_clean cursor-pointer"
src="../assets/cancel.svg"
style="width: 20px"
@click.stop="cleanSearchVal"
/>
</template>
Expand Down
24 changes: 7 additions & 17 deletions packages/frontend/src/stores/notification.ts
Original file line number Diff line number Diff line change
Expand Up @@ -28,70 +28,60 @@ export const useNotificationStore = defineStore('notification', {
{
id: 1,
application: 'devBox',
icon: 'sym_r_cancel',
children: [
{
id: 1,
title: 'Trading information1',
message:
'Your transaction on Sep 6 was successful, please go to the Dapp to view the transaction detials.',
icon: 'sym_r_cancel'
'Your transaction on Sep 6 was successful, please go to the Dapp to view the transaction detials.'
},
{
id: 2,
title: 'Trading information2',
message:
'Your transaction on Sep 6 was successful, please go to the Dapp to view the transaction detials.',
icon: 'sym_r_cancel'
'Your transaction on Sep 6 was successful, please go to the Dapp to view the transaction detials.'
},
{
id: 3,
title: 'Trading information3',
message:
'Your transaction on Sep 6 was successful, please go to the Dapp to view the transaction detials.',
icon: 'sym_r_cancel'
'Your transaction on Sep 6 was successful, please go to the Dapp to view the transaction detials.'
}
]
},
{
id: 2,
application: 'Files',
icon: 'sym_r_cancel',
children: [
{
id: 1,
title: 'Trading information1',
message:
'Your transaction on Sep 6 was successful, please go to the Dapp to view the transaction detials.',
icon: 'sym_r_cancel'
'Your transaction on Sep 6 was successful, please go to the Dapp to view the transaction detials.'
},
{
id: 2,
title: 'Trading information2',
message:
'Your transaction on Sep 6 was successful, please go to the Dapp to view the transaction detials.',
icon: 'sym_r_cancel'
'Your transaction on Sep 6 was successful, please go to the Dapp to view the transaction detials.'
},
{
id: 3,
title: 'Trading information3',
message:
'Your transaction on Sep 6 was successful, please go to the Dapp to view the transaction detials.',
icon: 'sym_r_cancel'
'Your transaction on Sep 6 was successful, please go to the Dapp to view the transaction detials.'
}
]
},
{
id: 3,
application: 'Vault',
icon: 'sym_r_cancel',
children: [
{
id: 1,
title: 'Trading information1',
message:
'Your transaction on Sep 6 was successful, please go to the Dapp to view the transaction detials.',
icon: 'sym_r_cancel'
'Your transaction on Sep 6 was successful, please go to the Dapp to view the transaction detials.'
}
]
}
Expand Down

0 comments on commit 8ec8fb6

Please sign in to comment.