who cares
This commit is contained in:
@@ -5,6 +5,7 @@
|
||||
</template>
|
||||
<template v-slot:footer>
|
||||
<ui-button type="light onbg" label="@ui.close" @click="config.close"></ui-button>
|
||||
<ui-button type="light onbg" label="@ui.remove" @click="remove()"></ui-button>
|
||||
</template>
|
||||
|
||||
<ui-search class="ui-iconpicker-overlay-search onbg" v-model="query" />
|
||||
@@ -134,6 +135,11 @@
|
||||
{
|
||||
this.items = this.set.icons.filter(item => item.toLowerCase().indexOf(query) > -1);
|
||||
}
|
||||
},
|
||||
|
||||
remove()
|
||||
{
|
||||
this.config.confirm(null);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -26,7 +26,7 @@ internal class ZeroMediaModule : ZeroModule
|
||||
services.AddOptions<MediaOptions>().Bind(configuration.GetSection("Zero:Media")).Configure(opts =>
|
||||
{
|
||||
opts.FolderPath = "uploads";
|
||||
opts.AllowedOtherFileExtensions = new() { ".pdf" };
|
||||
opts.AllowedOtherFileExtensions = new() { ".pdf", ".docx", ".doc" };
|
||||
opts.AllowedImageFileExtensions = new() { ".jpg", ".jpeg", ".png", ".bmp", ".webp", ".gif" };
|
||||
opts.Thumbnails = new()
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user