mirror of
https://github.com/bigcapitalhq/bigcapital.git
synced 2026-02-16 04:40:32 +00:00
feat: Style the dashboard topbar actions and user dropdown.
This commit is contained in:
@@ -171,3 +171,14 @@ export const saveFilesInAsync = (files, actionCb, extraTasks) => {
|
||||
});
|
||||
return PProgress.all(opers);
|
||||
}
|
||||
|
||||
export const firstLettersArgs = (...args) => {
|
||||
let letters = [];
|
||||
|
||||
args.forEach((word) => {
|
||||
if (typeof word === 'string') {
|
||||
letters.push(word.charAt(0));
|
||||
}
|
||||
});
|
||||
return letters.join('').toUpperCase();
|
||||
}
|
||||
Reference in New Issue
Block a user