mirror of
https://github.com/nicotsx/ironmount.git
synced 2025-12-10 12:10:51 +01:00
feat: add webdav support
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
import type { BackendType } from "@ironmount/schemas";
|
||||
import { Folder, Server, Share2 } from "lucide-react";
|
||||
import { Cloud, Folder, Server, Share2 } from "lucide-react";
|
||||
|
||||
type VolumeIconProps = {
|
||||
backend: BackendType;
|
||||
@@ -26,6 +26,12 @@ const getIconAndColor = (backend: BackendType) => {
|
||||
color: "text-purple-600 dark:text-purple-400",
|
||||
label: "SMB",
|
||||
};
|
||||
case "webdav":
|
||||
return {
|
||||
icon: Cloud,
|
||||
color: "text-green-600 dark:text-green-400",
|
||||
label: "WebDAV",
|
||||
};
|
||||
default:
|
||||
return {
|
||||
icon: Folder,
|
||||
|
||||
Reference in New Issue
Block a user