Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .github/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,7 @@ Thank you to the following projects and individuals for their contributions. Hig

- LottePitcher - [opinionated-package-starter](https://github.com/LottePitcher/opinionated-package-starter)
- Matthew-Wise - [Matthew-Wise](https://github.com/Matthew-Wise)
- Miguel Guedelha - [Miguel Guedelha](https://github.com/MiguelGuedelha)



1 change: 1 addition & 0 deletions docs/README_nuget.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ Thank you to the following projects and individuals for their contributions. Hig

- LottePitcher - [opinionated-package-starter](https://github.com/LottePitcher/opinionated-package-starter)
- Matthew-Wise - [Matthew-Wise](https://github.com/Matthew-Wise)
- Miguel Guedelha - [Miguel Guedelha](https://github.com/MiguelGuedelha)



3 changes: 3 additions & 0 deletions src/TestSite.13/appsettings.Development.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,9 @@
},
"Umbraco": {
"CMS": {
"DeliveryApi": {
"Enabled": true
},
"Unattended": {
"InstallUnattended": true,
"UnattendedUserName": "Administrator",
Expand Down
2 changes: 1 addition & 1 deletion src/jcdcdev.Umbraco.ReadingTime.sln
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Github", "Github", "{5830A8
..\.github\dependabot.yml = ..\.github\dependabot.yml
EndProjectSection
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "TestSite.10", "TestSite.10\TestSite.10.csproj", "{53BFA9E1-2748-4FEE-B3CB-98172460795D}"
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "TestSite.13", "TestSite.13\TestSite.13.csproj", "{53BFA9E1-2748-4FEE-B3CB-98172460795D}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "jcdcdev.Umbraco.ReadingTime", "jcdcdev.Umbraco.ReadingTime\jcdcdev.Umbraco.ReadingTime.csproj", "{2060F159-0A7B-4484-A6C2-1995A3EF19B4}"
EndProject
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ public bool IsConverter(IPublishedPropertyType propertyType) =>

public bool? IsValue(object? value, PropertyValueLevel level) => level switch
{
PropertyValueLevel.Source => value is Guid,
PropertyValueLevel.Source => value is string valueAsString && !string.IsNullOrWhiteSpace(valueAsString),
PropertyValueLevel.Inter => value is Guid,
PropertyValueLevel.Object => value is ReadingTimeValueModel,
_ => throw new NotSupportedException($"Invalid level: {level}.")
Expand Down
Loading