refactor: add opening hours

This commit is contained in:
Rainer Killinger
2021-08-03 15:02:59 +02:00
parent b89f5c4edd
commit bb8a9f6ba5
11 changed files with 204 additions and 36 deletions

View File

@@ -12,12 +12,7 @@
* You should have received a copy of the GNU General Public License along with
* this program. If not, see <https://www.gnu.org/licenses/>.
*/
import {
CommonModule,
HashLocationStrategy,
LocationStrategy,
registerLocaleData,
} from '@angular/common';
import {CommonModule, LocationStrategy, PathLocationStrategy, registerLocaleData} from '@angular/common';
import {HttpClient} from '@angular/common/http';
import localeDe from '@angular/common/locales/de';
import {APP_INITIALIZER, NgModule, Provider} from '@angular/core';
@@ -116,7 +111,7 @@ const providers: Provider[] = [
},
{
provide: LocationStrategy,
useClass: HashLocationStrategy,
useClass: PathLocationStrategy,
},
{
provide: APP_INITIALIZER,