Tray improvements.
This commit is contained in:
@@ -151,19 +151,9 @@ async function ImportJob(filepath: string): Promise<void> {
|
||||
});
|
||||
setAppProgressbar(-1);
|
||||
|
||||
const items = ["One", "Two", "Three"];
|
||||
const n = new Notification({
|
||||
title: "Choose an Action!",
|
||||
actions: [
|
||||
{ type: "button", text: "Action 1" },
|
||||
{ type: "button", text: "Action 2" },
|
||||
{ type: "selection", text: "Apply", items },
|
||||
],
|
||||
});
|
||||
|
||||
const uploadNotification = new Notification({
|
||||
title: "Job Scrubbed",
|
||||
body: `${newAvailableJob.ownr_name} - ${newAvailableJob.vehicle_info}. Click to view.`,
|
||||
body: `${newAvailableJob.ownr_name} - ${newAvailableJob.vehicle_info}.`,
|
||||
actions: [
|
||||
{ text: "View in App", type: "button" as const },
|
||||
...(scrubPdfURL ? [{ text: "View PDF", type: "button" as const }] : []),
|
||||
|
||||
Reference in New Issue
Block a user