mirror of
https://github.com/haiwen/seahub.git
synced 2025-09-11 03:41:12 +00:00
[dir view, toast] redesigned the 'converting' tip for md & sdoc file … (#5822)
* [dir view, toast] redesigned the 'converting' tip for md & sdoc file items; added a new type of toast * [toast] updated the loading icon of the 'notify-in-progress' toast
This commit is contained in:
@@ -51,6 +51,10 @@ export default class Toaster {
|
||||
return this.notifyHandler(title, { ...settings, intent: 'none' });
|
||||
};
|
||||
|
||||
notifyInProgress = (title, settings = {}) => {
|
||||
return this.notifyHandler(title, { ...settings, intent: 'notify-in-progress' });
|
||||
};
|
||||
|
||||
success = (title, settings = {}) => {
|
||||
return this.notifyHandler(title, { ...settings, intent: 'success' });
|
||||
};
|
||||
|
Reference in New Issue
Block a user