change notification from top left to top center
This commit is contained in:
@@ -48,13 +48,9 @@ export function useNotify() {
|
|||||||
$q?.notify({
|
$q?.notify({
|
||||||
message: message,
|
message: message,
|
||||||
color: color,
|
color: color,
|
||||||
position: 'top-left',
|
position: 'top',
|
||||||
icon: icon,
|
icon: icon,
|
||||||
timeout: timeout,
|
timeout: timeout,
|
||||||
classes: 'custom-notify',
|
|
||||||
attrs: {
|
|
||||||
style: 'margin-top: 50px',
|
|
||||||
},
|
|
||||||
actions: [
|
actions: [
|
||||||
{
|
{
|
||||||
icon: 'close',
|
icon: 'close',
|
||||||
|
|||||||
@@ -56,12 +56,9 @@ export const useUserStore = defineStore('user', {
|
|||||||
$q?.notify({
|
$q?.notify({
|
||||||
message: "user '" + this.user?.username + "' logged out",
|
message: "user '" + this.user?.username + "' logged out",
|
||||||
color: 'orange',
|
color: 'orange',
|
||||||
position: 'top-left',
|
position: 'top',
|
||||||
icon: 'warning',
|
icon: 'warning',
|
||||||
timeout: 5000,
|
timeout: 5000,
|
||||||
attrs: {
|
|
||||||
style: 'margin-top: 50px',
|
|
||||||
},
|
|
||||||
actions: [
|
actions: [
|
||||||
{
|
{
|
||||||
icon: 'close',
|
icon: 'close',
|
||||||
@@ -87,12 +84,9 @@ export const useUserStore = defineStore('user', {
|
|||||||
$q?.notify({
|
$q?.notify({
|
||||||
message: err,
|
message: err,
|
||||||
color: 'orange',
|
color: 'orange',
|
||||||
position: 'top-left',
|
position: 'top',
|
||||||
icon: 'warning',
|
icon: 'warning',
|
||||||
timeout: 5000,
|
timeout: 5000,
|
||||||
attrs: {
|
|
||||||
style: 'margin-top: 50px',
|
|
||||||
},
|
|
||||||
actions: [
|
actions: [
|
||||||
{
|
{
|
||||||
icon: 'close',
|
icon: 'close',
|
||||||
|
|||||||
Reference in New Issue
Block a user